[InstSimplify] Teach SimplifyAddInst and SimplifySubInst that vectors of i1 can be...
authorCraig Topper <craig.topper@gmail.com>
Thu, 6 Apr 2017 05:28:41 +0000 (05:28 +0000)
committerCraig Topper <craig.topper@gmail.com>
Thu, 6 Apr 2017 05:28:41 +0000 (05:28 +0000)
commitaa5f524095772f54ff83e34634a966ebd74b4f13
treeca09adff3d9f3fa1c0ef2579b146bdd80c6febc2
parent5dc5a8e5be002ed478cbdf457ead9ae7ff84152f
[InstSimplify] Teach SimplifyAddInst and SimplifySubInst that vectors of i1 can be treated as Xor too.

llvm-svn: 299626
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/test/Transforms/InstSimplify/addsub.ll [new file with mode: 0644]