[llvm] r309093 - [X86][FMA] Regenerate test with broadcast comments.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 26 03:20:49 PDT 2017
Author: rksimon
Date: Wed Jul 26 03:20:49 2017
New Revision: 309093
URL: http://llvm.org/viewvc/llvm-project?rev=309093&view=rev
Log:
[X86][FMA] Regenerate test with broadcast comments.
Modified:
llvm/trunk/test/CodeGen/X86/fma_patterns.ll
llvm/trunk/test/CodeGen/X86/fma_patterns_wide.ll
Modified: llvm/trunk/test/CodeGen/X86/fma_patterns.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/fma_patterns.ll?rev=309093&r1=309092&r2=309093&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/fma_patterns.ll (original)
+++ llvm/trunk/test/CodeGen/X86/fma_patterns.ll Wed Jul 26 03:20:49 2017
@@ -729,7 +729,7 @@ define <4 x float> @test_v4f32_mul_sub_o
;
; AVX512-INFS-LABEL: test_v4f32_mul_sub_one_x_y:
; AVX512-INFS: # BB#0:
-; AVX512-INFS-NEXT: vbroadcastss {{.*}}(%rip), %xmm2
+; AVX512-INFS-NEXT: vbroadcastss {{.*#+}} xmm2 = [1,1,1,1]
; AVX512-INFS-NEXT: vsubps %xmm0, %xmm2, %xmm0
; AVX512-INFS-NEXT: vmulps %xmm1, %xmm0, %xmm0
; AVX512-INFS-NEXT: retq
@@ -770,7 +770,7 @@ define <4 x float> @test_v4f32_mul_y_sub
;
; AVX512-INFS-LABEL: test_v4f32_mul_y_sub_one_x:
; AVX512-INFS: # BB#0:
-; AVX512-INFS-NEXT: vbroadcastss {{.*}}(%rip), %xmm2
+; AVX512-INFS-NEXT: vbroadcastss {{.*#+}} xmm2 = [1,1,1,1]
; AVX512-INFS-NEXT: vsubps %xmm0, %xmm2, %xmm0
; AVX512-INFS-NEXT: vmulps %xmm0, %xmm1, %xmm0
; AVX512-INFS-NEXT: retq
@@ -811,7 +811,7 @@ define <4 x float> @test_v4f32_mul_sub_n
;
; AVX512-INFS-LABEL: test_v4f32_mul_sub_negone_x_y:
; AVX512-INFS: # BB#0:
-; AVX512-INFS-NEXT: vbroadcastss {{.*}}(%rip), %xmm2
+; AVX512-INFS-NEXT: vbroadcastss {{.*#+}} xmm2 = [-1,-1,-1,-1]
; AVX512-INFS-NEXT: vsubps %xmm0, %xmm2, %xmm0
; AVX512-INFS-NEXT: vmulps %xmm1, %xmm0, %xmm0
; AVX512-INFS-NEXT: retq
@@ -852,7 +852,7 @@ define <4 x float> @test_v4f32_mul_y_sub
;
; AVX512-INFS-LABEL: test_v4f32_mul_y_sub_negone_x:
; AVX512-INFS: # BB#0:
-; AVX512-INFS-NEXT: vbroadcastss {{.*}}(%rip), %xmm2
+; AVX512-INFS-NEXT: vbroadcastss {{.*#+}} xmm2 = [-1,-1,-1,-1]
; AVX512-INFS-NEXT: vsubps %xmm0, %xmm2, %xmm0
; AVX512-INFS-NEXT: vmulps %xmm0, %xmm1, %xmm0
; AVX512-INFS-NEXT: retq
@@ -1100,7 +1100,7 @@ define <4 x float> @test_v4f32_interp(<4
;
; AVX512-INFS-LABEL: test_v4f32_interp:
; AVX512-INFS: # BB#0:
-; AVX512-INFS-NEXT: vbroadcastss {{.*}}(%rip), %xmm3
+; AVX512-INFS-NEXT: vbroadcastss {{.*#+}} xmm3 = [1,1,1,1]
; AVX512-INFS-NEXT: vsubps %xmm2, %xmm3, %xmm3
; AVX512-INFS-NEXT: vmulps %xmm3, %xmm1, %xmm1
; AVX512-INFS-NEXT: vfmadd213ps %xmm1, %xmm2, %xmm0
@@ -1149,7 +1149,7 @@ define <8 x float> @test_v8f32_interp(<8
;
; AVX512-INFS-LABEL: test_v8f32_interp:
; AVX512-INFS: # BB#0:
-; AVX512-INFS-NEXT: vbroadcastss {{.*}}(%rip), %ymm3
+; AVX512-INFS-NEXT: vbroadcastss {{.*#+}} ymm3 = [1,1,1,1,1,1,1,1]
; AVX512-INFS-NEXT: vsubps %ymm2, %ymm3, %ymm3
; AVX512-INFS-NEXT: vmulps %ymm3, %ymm1, %ymm1
; AVX512-INFS-NEXT: vfmadd213ps %ymm1, %ymm2, %ymm0
@@ -1296,7 +1296,7 @@ define <4 x double> @test_v4f64_interp(<
;
; AVX512-INFS-LABEL: test_v4f64_interp:
; AVX512-INFS: # BB#0:
-; AVX512-INFS-NEXT: vbroadcastsd {{.*}}(%rip), %ymm3
+; AVX512-INFS-NEXT: vbroadcastsd {{.*#+}} ymm3 = [1,1,1,1]
; AVX512-INFS-NEXT: vsubpd %ymm2, %ymm3, %ymm3
; AVX512-INFS-NEXT: vmulpd %ymm3, %ymm1, %ymm1
; AVX512-INFS-NEXT: vfmadd213pd %ymm1, %ymm2, %ymm0
Modified: llvm/trunk/test/CodeGen/X86/fma_patterns_wide.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/fma_patterns_wide.ll?rev=309093&r1=309092&r2=309093&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/fma_patterns_wide.ll (original)
+++ llvm/trunk/test/CodeGen/X86/fma_patterns_wide.ll Wed Jul 26 03:20:49 2017
@@ -461,7 +461,7 @@ define <16 x float> @test_v16f32_mul_sub
;
; AVX512-INFS-LABEL: test_v16f32_mul_sub_one_x_y:
; AVX512-INFS: # BB#0:
-; AVX512-INFS-NEXT: vbroadcastss {{.*}}(%rip), %zmm2
+; AVX512-INFS-NEXT: vbroadcastss {{.*#+}} zmm2 = [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]
; AVX512-INFS-NEXT: vsubps %zmm0, %zmm2, %zmm0
; AVX512-INFS-NEXT: vmulps %zmm1, %zmm0, %zmm0
; AVX512-INFS-NEXT: retq
@@ -508,7 +508,7 @@ define <8 x double> @test_v8f64_mul_y_su
;
; AVX512-INFS-LABEL: test_v8f64_mul_y_sub_one_x:
; AVX512-INFS: # BB#0:
-; AVX512-INFS-NEXT: vbroadcastsd {{.*}}(%rip), %zmm2
+; AVX512-INFS-NEXT: vbroadcastsd {{.*#+}} zmm2 = [1,1,1,1,1,1,1,1]
; AVX512-INFS-NEXT: vsubpd %zmm0, %zmm2, %zmm0
; AVX512-INFS-NEXT: vmulpd %zmm0, %zmm1, %zmm0
; AVX512-INFS-NEXT: retq
@@ -555,7 +555,7 @@ define <16 x float> @test_v16f32_mul_sub
;
; AVX512-INFS-LABEL: test_v16f32_mul_sub_negone_x_y:
; AVX512-INFS: # BB#0:
-; AVX512-INFS-NEXT: vbroadcastss {{.*}}(%rip), %zmm2
+; AVX512-INFS-NEXT: vbroadcastss {{.*#+}} zmm2 = [-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]
; AVX512-INFS-NEXT: vsubps %zmm0, %zmm2, %zmm0
; AVX512-INFS-NEXT: vmulps %zmm1, %zmm0, %zmm0
; AVX512-INFS-NEXT: retq
@@ -602,7 +602,7 @@ define <8 x double> @test_v8f64_mul_y_su
;
; AVX512-INFS-LABEL: test_v8f64_mul_y_sub_negone_x:
; AVX512-INFS: # BB#0:
-; AVX512-INFS-NEXT: vbroadcastsd {{.*}}(%rip), %zmm2
+; AVX512-INFS-NEXT: vbroadcastsd {{.*#+}} zmm2 = [-1,-1,-1,-1,-1,-1,-1,-1]
; AVX512-INFS-NEXT: vsubpd %zmm0, %zmm2, %zmm0
; AVX512-INFS-NEXT: vmulpd %zmm0, %zmm1, %zmm0
; AVX512-INFS-NEXT: retq
@@ -841,7 +841,7 @@ define <16 x float> @test_v16f32_interp(
;
; AVX512-INFS-LABEL: test_v16f32_interp:
; AVX512-INFS: # BB#0:
-; AVX512-INFS-NEXT: vbroadcastss {{.*}}(%rip), %zmm3
+; AVX512-INFS-NEXT: vbroadcastss {{.*#+}} zmm3 = [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]
; AVX512-INFS-NEXT: vsubps %zmm2, %zmm3, %zmm3
; AVX512-INFS-NEXT: vmulps %zmm3, %zmm1, %zmm1
; AVX512-INFS-NEXT: vfmadd213ps %zmm1, %zmm2, %zmm0
@@ -900,7 +900,7 @@ define <8 x double> @test_v8f64_interp(<
;
; AVX512-INFS-LABEL: test_v8f64_interp:
; AVX512-INFS: # BB#0:
-; AVX512-INFS-NEXT: vbroadcastsd {{.*}}(%rip), %zmm3
+; AVX512-INFS-NEXT: vbroadcastsd {{.*#+}} zmm3 = [1,1,1,1,1,1,1,1]
; AVX512-INFS-NEXT: vsubpd %zmm2, %zmm3, %zmm3
; AVX512-INFS-NEXT: vmulpd %zmm3, %zmm1, %zmm1
; AVX512-INFS-NEXT: vfmadd213pd %zmm1, %zmm2, %zmm0
More information about the llvm-commits
mailing list