OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3105ebf
)
Remove tab, again.
author
Nick Lewycky
<nicholas@mxc.ca>
Sun, 20 Sep 2009 06:26:34 +0000
(06:26 +0000)
committer
Nick Lewycky
<nicholas@mxc.ca>
Sun, 20 Sep 2009 06:26:34 +0000
(06:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82379
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/ConstantFold.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/ConstantFold.cpp
b/lib/VMCore/ConstantFold.cpp
index
1cf7b29
..
bfa7832
100644
(file)
--- a/
lib/VMCore/ConstantFold.cpp
+++ b/
lib/VMCore/ConstantFold.cpp
@@
-712,7
+712,7
@@
Constant *llvm::ConstantFoldBinaryInstruction(LLVMContext &Context,
case Instruction::FCmp:
// icmp pred ^ true -> icmp !pred
assert(CI2->equalsInt(1));
- CmpInst::Predicate pred = (CmpInst::Predicate)CE1->getPredicate();
+
CmpInst::Predicate pred = (CmpInst::Predicate)CE1->getPredicate();
pred = CmpInst::getInversePredicate(pred);
return ConstantExpr::getCompare(pred, CE1->getOperand(0),
CE1->getOperand(1));