diff options
author | Craig Topper <craig.topper@intel.com> | 2019-06-06 05:41:22 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2019-06-06 05:41:22 +0000 |
commit | cf44372137f245b9ce940e12bbaedfe2c23a3bc4 (patch) | |
tree | 6fa262baf24ad101b3eb49cbedca659895300d8d /llvm/lib | |
parent | 5b2a85d0ded21097885900889faa871fdb2e71b5 (diff) | |
download | bcm5719-llvm-cf44372137f245b9ce940e12bbaedfe2c23a3bc4.tar.gz bcm5719-llvm-cf44372137f245b9ce940e12bbaedfe2c23a3bc4.zip |
[X86] Add test case for masked load with constant mask and all zeros passthru.
avx/avx2 masked loads only support all zeros for passthru in hardware.
So we have to emit a blend for all other values. We have an optimization
that tries to optimize this blend if the mask is constant. But we
don't need to perform this optimization if the passthru value is zero
which doesn't need the blend at all.
llvm-svn: 362674
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions