OSDN Git Service

Make instsimplify's analysis of icmp eq/ne use computeKnownBits to determine whether...
authorNick Lewycky <nicholas@mxc.ca>
Thu, 19 Jun 2014 03:35:49 +0000 (03:35 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Thu, 19 Jun 2014 03:35:49 +0000 (03:35 +0000)
commit650b6ea893c118bf0c6e40cd3002954cc34df2bb
tree9a7058cb63d32ebe6b4f577dd79e0a93ceb1c898
parentbdb4aca20211b9ed31874c1be0d814fe26f10a24
Make instsimplify's analysis of icmp eq/ne use computeKnownBits to determine whether the icmp is always true or false. Patch by Suyog Sarda!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211251 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/InstructionSimplify.cpp
test/Transforms/InstCombine/align-2d-gep.ll
test/Transforms/InstSimplify/compare.ll