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)
commitc961030ac25428c14081a12ba9b90284181ecc9b
tree49a3fc627072ba84f2b7432547d83e286fcd285f
parent802df5242485ed5356537bd652a72a66138593e3
Make instsimplify's analysis of icmp eq/ne use computeKnownBits to determine whether the icmp is always true or false. Patch by Suyog Sarda!

llvm-svn: 211251
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/test/Transforms/InstCombine/align-2d-gep.ll
llvm/test/Transforms/InstSimplify/compare.ll