OSDN Git Service

[InstCombine] Teach the code that pulls logical operators through constant shifts...
authorCraig Topper <craig.topper@intel.com>
Sat, 5 Aug 2017 20:00:42 +0000 (20:00 +0000)
committerCraig Topper <craig.topper@intel.com>
Sat, 5 Aug 2017 20:00:42 +0000 (20:00 +0000)
commitc5136a32820284cb463d8b63db498f853d48e17e
treee59e5707c1c667b1837db8f514d7347bf88e7821
parent6eef5df328e31bcb5054d517ffe64e4ccc28b14c
[InstCombine] Teach the code that pulls logical operators through constant shifts to handle vector splats too.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310185 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineShifts.cpp
test/Transforms/InstCombine/pr17827.ll
test/Transforms/InstCombine/select-with-bitwise-ops.ll
test/Transforms/InstCombine/vector-casts.ll