diff options
author | Sanjay Patel <spatel@rotateright.com> | 2017-09-12 23:24:05 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2017-09-12 23:24:05 +0000 |
commit | 76edba0ca1931fabe2d1d92ff38e5277cf119a74 (patch) | |
tree | be527c8af62db6fad49935e19b168152b6cb2fb6 /CMakeLists.txt | |
parent | 623927eb7fee61e681a489cc4c7f6920eab379d8 (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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313089 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions