diff options
Diffstat (limited to 'llvm/test/CodeGen/X86/combine-abs.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/combine-abs.ll | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/llvm/test/CodeGen/X86/combine-abs.ll b/llvm/test/CodeGen/X86/combine-abs.ll index ebe7def7e63..30bba8d9e36 100644 --- a/llvm/test/CodeGen/X86/combine-abs.ll +++ b/llvm/test/CodeGen/X86/combine-abs.ll @@ -97,20 +97,10 @@ define <4 x i64> @combine_v4i64_abs_abs(<4 x i64> %a) { ; fold (abs x) -> x iff not-negative define <16 x i8> @combine_v16i8_abs_constant(<16 x i8> %a) { -; AVX2-LABEL: combine_v16i8_abs_constant: -; AVX2: # %bb.0: -; AVX2-NEXT: vandps {{.*}}(%rip), %xmm0, %xmm0 -; AVX2-NEXT: retq -; -; AVX512F-LABEL: combine_v16i8_abs_constant: -; AVX512F: # %bb.0: -; AVX512F-NEXT: vandps {{.*}}(%rip), %xmm0, %xmm0 -; AVX512F-NEXT: retq -; -; AVX512VL-LABEL: combine_v16i8_abs_constant: -; AVX512VL: # %bb.0: -; AVX512VL-NEXT: vpand {{.*}}(%rip), %xmm0, %xmm0 -; AVX512VL-NEXT: retq +; CHECK-LABEL: combine_v16i8_abs_constant: +; CHECK: # %bb.0: +; CHECK-NEXT: vandps {{.*}}(%rip), %xmm0, %xmm0 +; CHECK-NEXT: retq %1 = insertelement <16 x i8> undef, i8 15, i32 0 %2 = shufflevector <16 x i8> %1, <16 x i8> undef, <16 x i32> zeroinitializer %3 = and <16 x i8> %a, %2 |