summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/APInt.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-04-01 04:26:20 +0000
committerCraig Topper <craig.topper@gmail.com>2017-04-01 04:26:20 +0000
commit73250168e723b1507bc15e8fa6670aa5d3f3ac2c (patch)
treef5e679d5c3a14370c316886e8b4640d650ab8fc0 /llvm/lib/Support/APInt.cpp
parentfa5f2c595bb43e1c177f3ceb6d8aa982bb678ae0 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud