summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineCombiner.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2019-11-01 11:28:32 -0700
committerCraig Topper <craig.topper@intel.com>2019-11-01 13:06:03 -0700
commiteeeb18cd075ddf7a44c8571f9e17e4b1fcbc8aa4 (patch)
tree883be51979c37fdaa548ecd312e1f84402360b1c /llvm/lib/CodeGen/MachineCombiner.cpp
parentdeaf121b657323fde17dd862a13b05e8b7ee6954 (diff)
downloadbcm5719-llvm-eeeb18cd075ddf7a44c8571f9e17e4b1fcbc8aa4.tar.gz
bcm5719-llvm-eeeb18cd075ddf7a44c8571f9e17e4b1fcbc8aa4.zip
[X86] Change the behavior of canWidenShuffleElements used by lowerV2X128Shuffle to match the behavior in lowerVectorShuffle with regards to zeroable elements.
Previously we marked zeroable elements in a way that prevented the widening check from recognizing that it could widen. Now we only mark them zeroable if V2 is an all zeros vector. This matches what we do for widening elements in lowerVectorShuffle. Fixes PR43866.
Diffstat (limited to 'llvm/lib/CodeGen/MachineCombiner.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud