diff options
author | Craig Topper <craig.topper@intel.com> | 2018-06-27 15:57:53 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2018-06-27 15:57:53 +0000 |
commit | 31cbe75b3ba55b09de4b9887dc207c3c879e66dc (patch) | |
tree | 4e4e51fac34eca3c5db74e178d8c94ea8609d075 /llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp | |
parent | 65f35e4afc8cc481943a3c72f895a33f7282dba1 (diff) | |
download | bcm5719-llvm-31cbe75b3ba55b09de4b9887dc207c3c879e66dc.tar.gz bcm5719-llvm-31cbe75b3ba55b09de4b9887dc207c3c879e66dc.zip |
[X86] Rename the autoupgraded of packed fp compare and fpclass intrinsics that don't take a mask as input to exclude '.mask.' from their name.
I think the intrinsics named 'avx512.mask.' should refer to the previous behavior of taking a mask argument in the intrinsic instead of using a 'select' or 'and' instruction in IR to accomplish the masking. This is more consistent with the goal that eventually we will have no intrinsics that have masking builtin. When we reach that goal, we should have no intrinsics named "avx512.mask".
llvm-svn: 335744
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp')
-rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp b/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp index dd88b33546b..3f9856d240b 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp @@ -2394,12 +2394,12 @@ Instruction *InstCombiner::visitCallInst(CallInst &CI) { return II; break; } - case Intrinsic::x86_avx512_mask_cmp_pd_128: - case Intrinsic::x86_avx512_mask_cmp_pd_256: - case Intrinsic::x86_avx512_mask_cmp_pd_512: - case Intrinsic::x86_avx512_mask_cmp_ps_128: - case Intrinsic::x86_avx512_mask_cmp_ps_256: - case Intrinsic::x86_avx512_mask_cmp_ps_512: { + case Intrinsic::x86_avx512_cmp_pd_128: + case Intrinsic::x86_avx512_cmp_pd_256: + case Intrinsic::x86_avx512_cmp_pd_512: + case Intrinsic::x86_avx512_cmp_ps_128: + case Intrinsic::x86_avx512_cmp_ps_256: + case Intrinsic::x86_avx512_cmp_ps_512: { // Folding cmp(sub(a,b),0) -> cmp(a,b) and cmp(0,sub(a,b)) -> cmp(b,a) Value *Arg0 = II->getArgOperand(0); Value *Arg1 = II->getArgOperand(1); |