OSDN Git Service

optimize ~(~X >>s Y) --> (X >>s Y), patch by Edmund Grimley
authorChris Lattner <sabre@nondot.org>
Tue, 19 Jan 2010 18:16:19 +0000 (18:16 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 19 Jan 2010 18:16:19 +0000 (18:16 +0000)
commitc0404b3715151d020dda074740bbdaa794f9328a
tree7cd4b513d43274c70b7ba5d7b145873856cf70ae
parent9201b10daac2660f2f45534f12b52e3ee3501e88
optimize ~(~X >>s Y) --> (X >>s Y), patch by Edmund Grimley
Evans!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93884 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
test/Transforms/InstCombine/idioms.ll [new file with mode: 0644]
test/Transforms/InstCombine/xor2.ll