projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c82a5da
)
Fix comment.
author
Duncan Sands
<baldrick@free.fr>
Wed, 4 Apr 2007 06:42:45 +0000
(06:42 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Wed, 4 Apr 2007 06:42:45 +0000
(06:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35655
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/InstructionCombining.cpp
b/lib/Transforms/Scalar/InstructionCombining.cpp
index d26fbced5b1fb71aebb8fc719868aeaf531e5ae6..a76152804a8bc2e7ef589b545f90315c33c4c1f3 100644
(file)
--- a/
lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/
lib/Transforms/Scalar/InstructionCombining.cpp
@@
-4903,7
+4903,7
@@
Instruction *InstCombiner::visitICmpInstWithInstAndIntCst(ICmpInst &ICI,
const APInt &RHSV = RHS->getValue();
switch (LHSI->getOpcode()) {
- case Instruction::Xor: // (icmp pred (
and
X, XorCST), CI)
+ case Instruction::Xor: // (icmp pred (
xor
X, XorCST), CI)
if (ConstantInt *XorCST = dyn_cast<ConstantInt>(LHSI->getOperand(1))) {
// If this is a comparison that tests the signbit (X < 0) or (x > -1),
// fold the xor.