InstructionSimplify should be able to simplify A+B==B+A to 'true'
authorDuncan Sands <baldrick@free.fr>
Fri, 16 Nov 2012 19:41:26 +0000 (19:41 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 16 Nov 2012 19:41:26 +0000 (19:41 +0000)
commitc41076c07c5c44e1bea8c1eef7e4eef4973a467a
tree53c779ea1630de57002cd11c87a05976f5d0498c
parentcceda898b87e58465672c5a6ee427608c3f353f1
InstructionSimplify should be able to simplify A+B==B+A to 'true'
but wasn't due to the same logic bug that caused PR14361.

llvm-svn: 168186
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/test/Transforms/InstSimplify/compare.ll