summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2017-09-12 23:24:05 +0000
committerSanjay Patel <spatel@rotateright.com>2017-09-12 23:24:05 +0000
commit659279450e5bbf7fefb971884243eeadc4fbfe8d (patch)
tree5987fb8d7a6c02b44addd8c33c5e925f4a52eaf6 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent079e746814b7744e4b1bf13f1a0089d3a747de27 (diff)
[x86] eliminate unnecessary vector compare for AVX masked store
The masked store instruction only cares about the sign-bit of each mask element, so the compare s<0 isn't needed. As noted in PR11210: https://bugs.llvm.org/show_bug.cgi?id=11210 ...fixing this should allow us to eliminate x86-specific masked store intrinsics in IR. (Although more testing will be needed to confirm that.) I filed a bug to track improvements for AVX512: https://bugs.llvm.org/show_bug.cgi?id=34584 Differential Revision: https://reviews.llvm.org/D37446 llvm-svn: 313089
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions