diff options
| -rw-r--r-- | llvm/test/CodeGen/X86/avx-insertelt.ll | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/avx-insertelt.ll b/llvm/test/CodeGen/X86/avx-insertelt.ll index 284a6d71e2d..627c69dcfdc 100644 --- a/llvm/test/CodeGen/X86/avx-insertelt.ll +++ b/llvm/test/CodeGen/X86/avx-insertelt.ll @@ -1,9 +1,12 @@ +; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx | FileCheck %s --check-prefix=ALL --check-prefix=AVX ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx2 | FileCheck %s --check-prefix=ALL --check-prefix=AVX2 define <8 x float> @insert_f32(<8 x float> %y, float %f, <8 x float> %x) { ; ALL-LABEL: insert_f32: -; ALL: vblendps {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7] +; ALL: # %bb.0: +; ALL-NEXT: # kill: def %xmm1 killed %xmm1 def %ymm1 +; ALL-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7] ; ALL-NEXT: retq %i0 = insertelement <8 x float> %y, float %f, i32 0 ret <8 x float> %i0 @@ -11,7 +14,9 @@ define <8 x float> @insert_f32(<8 x float> %y, float %f, <8 x float> %x) { define <4 x double> @insert_f64(<4 x double> %y, double %f, <4 x double> %x) { ; ALL-LABEL: insert_f64: -; ALL: vblendpd {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3] +; ALL: # %bb.0: +; ALL-NEXT: # kill: def %xmm1 killed %xmm1 def %ymm1 +; ALL-NEXT: vblendpd {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3] ; ALL-NEXT: retq %i0 = insertelement <4 x double> %y, double %f, i32 0 ret <4 x double> %i0 |

