mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-30 00:32:53 +00:00
[InstCombine] Fix indentation. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256131 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a8c897c57c
commit
cc004e57d1
@ -1118,8 +1118,8 @@ Instruction *InstCombiner::visitAdd(BinaryOperator &I) {
|
||||
// (X + signbit) + C could have gotten canonicalized to (X ^ signbit) + C,
|
||||
// transform them into (X + (signbit ^ C))
|
||||
if (XorRHS->getValue().isSignBit())
|
||||
return BinaryOperator::CreateAdd(XorLHS,
|
||||
ConstantExpr::getXor(XorRHS, CI));
|
||||
return BinaryOperator::CreateAdd(XorLHS,
|
||||
ConstantExpr::getXor(XorRHS, CI));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user