]> granicus.if.org Git - llvm/commit
[InstCombine] enable (X >>?,exact C1) << C2 --> X << (C2 - C1) for vectors with splats
authorSanjay Patel <spatel@rotateright.com>
Sun, 29 Jan 2017 17:11:18 +0000 (17:11 +0000)
committerSanjay Patel <spatel@rotateright.com>
Sun, 29 Jan 2017 17:11:18 +0000 (17:11 +0000)
commit3a412958e733be7e075cf5e80d0cdfc54a086c8c
tree9f6ea301f81531e5d44cbdf54f3235d2cdc96866
parentc7576ae80d6af4dfc6acc6e12c9b33906dbae120
[InstCombine] enable (X >>?,exact C1) << C2 --> X << (C2 - C1) for vectors with splats

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293435 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineShifts.cpp
test/Transforms/InstCombine/shift.ll