commit | b1dd2b43120e3dd949bf920008b18eff80264170 | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Tue Mar 07 21:45:16 2017 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Tue Mar 07 21:45:16 2017 +0000 |
tree | aa4cb5a030903bee3ba764854949abe566fc5d98 | |
parent | f4f71cd77b30788f85c87b13934061d77eaa5b25 [diff] |
[InstCombine] shrink truncated splat shuffle (2nd try) This was committed at r297155 and reverted at r297166 because of an over-reaching clang test. That should be fixed with r297189. This is one part of solving a recent bug report: http://lists.llvm.org/pipermail/llvm-dev/2017-February/110293.html This keeps with our general approach: changing arbitrary shuffles is off-limts, but changing splat is ok. The transform is very similar to the existing shrinkBitwiseLogic() canonicalization. Differential Revision: https://reviews.llvm.org/D30123 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297232 91177308-0d34-0410-b5e6-96231b3b80d8