diff options
author | Sanjay Patel <spatel@rotateright.com> | 2016-09-02 17:05:43 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2016-09-02 17:05:43 +0000 |
commit | 521f19f2498e867696b803eedfa4e87b53efea09 (patch) | |
tree | 3c603869ee892241d7e78c7ee1e40c96cee65980 /lldb/packages/Python/lldbsuite/test/python_api | |
parent | 41bfd6bd6c2a86575a87ff91564ba609a76f067d (diff) | |
download | bcm5719-llvm-521f19f2498e867696b803eedfa4e87b53efea09.tar.gz bcm5719-llvm-521f19f2498e867696b803eedfa4e87b53efea09.zip |
[InsttCombine] fold insertelement of constant into shuffle with constant operand (PR29126)
The motivating case occurs with SSE/AVX scalar intrinsics, so this is a first step towards
shrinking that to a single shufflevector.
Note that the transform is intentionally limited to shuffles that are equivalent to vector
selects to avoid creating arbitrary shuffle masks that may not lower well.
This should solve PR29126:
https://llvm.org/bugs/show_bug.cgi?id=29126
Differential Revision: https://reviews.llvm.org/D23886
llvm-svn: 280504
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions