diff options
author | Sanjay Patel <spatel@rotateright.com> | 2016-02-29 23:59:00 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2016-02-29 23:59:00 +0000 |
commit | 6f2c01f7124691c58a2df72ef989b5e93510fa5b (patch) | |
tree | 5f6aaf0a1d9cae6fbe2b6a0f04458b9e16d66cb3 /llvm/lib/Transforms/InstCombine | |
parent | 093594938bf5c46a5fb4b7b3ea157eb269d8f885 (diff) | |
download | bcm5719-llvm-6f2c01f7124691c58a2df72ef989b5e93510fa5b.tar.gz bcm5719-llvm-6f2c01f7124691c58a2df72ef989b5e93510fa5b.zip |
[x86, InstCombine] transform more x86 masked loads to LLVM intrinsics
Continuation of:
http://reviews.llvm.org/rL262269
llvm-svn: 262273
Diffstat (limited to 'llvm/lib/Transforms/InstCombine')
-rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp b/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp index 43b1bf0dc10..b8396eee844 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp @@ -1663,7 +1663,13 @@ Instruction *InstCombiner::visitCallInst(CallInst &CI) { break; case Intrinsic::x86_avx_maskload_ps: - // TODO: Add the other masked load variants. + case Intrinsic::x86_avx_maskload_pd: + case Intrinsic::x86_avx_maskload_ps_256: + case Intrinsic::x86_avx_maskload_pd_256: + case Intrinsic::x86_avx2_maskload_d: + case Intrinsic::x86_avx2_maskload_q: + case Intrinsic::x86_avx2_maskload_d_256: + case Intrinsic::x86_avx2_maskload_q_256: if (Instruction *I = simplifyX86MaskedLoad(*II, *this)) return I; break; |