]> granicus.if.org Git - llvm/commit
[InstCombine] use m_APInt to allow shl folds for vectors with splat constants
authorSanjay Patel <spatel@rotateright.com>
Fri, 13 Jan 2017 18:39:09 +0000 (18:39 +0000)
committerSanjay Patel <spatel@rotateright.com>
Fri, 13 Jan 2017 18:39:09 +0000 (18:39 +0000)
commit093d956dc6acad0fcf51cc1c31bb9ce42a4bc811
treec7a69d6ba44441df4c2223970c2f76877e55fd73
parent6def8b49e5e91823f3b6c8670dfd3978df72c23b
[InstCombine] use m_APInt to allow shl folds for vectors with splat constants

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