]> granicus.if.org Git - llvm/commit
[InstCombine] enable (X <<nsw C1) >>s C2 --> X <<nsw (C1-C2) for vectors with splat...
authorSanjay Patel <spatel@rotateright.com>
Mon, 30 Jan 2017 17:19:32 +0000 (17:19 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 30 Jan 2017 17:19:32 +0000 (17:19 +0000)
commit093eb4f6ff33d70ecd9de34d233d8f252669a5fc
treee14798c65a1c873da8ca8cb770d85679034ce273
parentea0aa0fa591d8b2eea2c616b192bf0324f24316a
[InstCombine] enable (X <<nsw C1) >>s C2 --> X <<nsw (C1-C2) for vectors with splat constants

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