projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert a part of r223583, for now. It seems causing different emission between stage2...
[oota-llvm.git]
/
lib
/
Analysis
/
InstructionSimplify.cpp
diff --git
a/lib/Analysis/InstructionSimplify.cpp
b/lib/Analysis/InstructionSimplify.cpp
index e58998897c2d1567d504f5f432123bb4bc13eebb..5c536aa79c480c657aefd31481aa65ef1aecddf9 100644
(file)
--- a/
lib/Analysis/InstructionSimplify.cpp
+++ b/
lib/Analysis/InstructionSimplify.cpp
@@
-1476,11
+1476,6
@@
static Value *simplifyUnsignedRangeCheck(ICmpInst *ZeroICmp,
return UnsignedICmp;
}
- // X < Y && Y == 0 --> false
- if (UnsignedPred == ICmpInst::ICMP_ULT && EqPred == ICmpInst::ICMP_EQ &&
- IsAnd)
- return getFalse(UnsignedICmp->getType());
-
return nullptr;
}