diff options
author | Craig Topper <craig.topper@gmail.com> | 2017-04-01 04:26:20 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2017-04-01 04:26:20 +0000 |
commit | 73250168e723b1507bc15e8fa6670aa5d3f3ac2c (patch) | |
tree | f5e679d5c3a14370c316886e8b4640d650ab8fc0 /llvm/lib/Support/APInt.cpp | |
parent | fa5f2c595bb43e1c177f3ceb6d8aa982bb678ae0 (diff) | |
download | bcm5719-llvm-73250168e723b1507bc15e8fa6670aa5d3f3ac2c.tar.gz bcm5719-llvm-73250168e723b1507bc15e8fa6670aa5d3f3ac2c.zip |
[DAGCombiner] Fix fold (or (shuf A, V_0, MA), (shuf B, V_0, MB)) -> (shuf A, B, Mask) to explicitly ensure that only one of the inputs of each shuffle is a zero vector.
This can only happen when we have a mix of zero and undef elements and the two vectors have a different arrangement of zeros/undefs. The shuffle should eventually be constant folded to all zeros.
Fixes PR32484.
llvm-svn: 299291
Diffstat (limited to 'llvm/lib/Support/APInt.cpp')
0 files changed, 0 insertions, 0 deletions