[llvm] r322384 - [X86][AVX] Regenerate element insertion tests
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 12 10:02:52 PST 2018
Author: rksimon
Date: Fri Jan 12 10:02:52 2018
New Revision: 322384
URL: http://llvm.org/viewvc/llvm-project?rev=322384&view=rev
Log:
[X86][AVX] Regenerate element insertion tests
Modified:
llvm/trunk/test/CodeGen/X86/avx-insertelt.ll
Modified: llvm/trunk/test/CodeGen/X86/avx-insertelt.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/avx-insertelt.ll?rev=322384&r1=322383&r2=322384&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/avx-insertelt.ll (original)
+++ llvm/trunk/test/CodeGen/X86/avx-insertelt.ll Fri Jan 12 10:02:52 2018
@@ -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 floa
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
More information about the llvm-commits
mailing list