diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-12-08 02:07:22 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-12-08 02:07:22 +0000 |
commit | 2b6e66267283215c7c5078d1df997df1380084f7 (patch) | |
tree | 58eb9a928579ab0a8af796b3becd2660a73186e6 /llvm/lib/Analysis/InstructionSimplify.cpp | |
parent | 687787f018a782c9b030f8786ceb0cf06eb7221b (diff) | |
download | bcm5719-llvm-2b6e66267283215c7c5078d1df997df1380084f7.tar.gz bcm5719-llvm-2b6e66267283215c7c5078d1df997df1380084f7.zip |
Revert a part of r223583, for now. It seems causing different emission between stage2(gcc-clang) and stage3 clang. Investigating.
llvm-svn: 223624
Diffstat (limited to 'llvm/lib/Analysis/InstructionSimplify.cpp')
-rw-r--r-- | llvm/lib/Analysis/InstructionSimplify.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Analysis/InstructionSimplify.cpp b/llvm/lib/Analysis/InstructionSimplify.cpp index e58998897c2..5c536aa79c4 100644 --- a/llvm/lib/Analysis/InstructionSimplify.cpp +++ b/llvm/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; } |