You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
; YAML: - String: 'Stores SLP vectorized with cost '
11
11
; YAML: - Cost: '6'
12
12
; YAML: - String: ' and with tree size '
13
13
; YAML: - TreeSize: '5'
14
14
15
-
definevoid@test(<4 x float> %load6, <4 x float> %load7, <4 x float> %load8, <4 x float> %load17, <4 x float> %fmuladd7, <4 x float> %fmuladd16, ptr%out_ptr) {
16
-
; CHECK-LABEL: @test(
15
+
definevoid@test1(<4 x float> %load6, <4 x float> %load7, <4 x float> %load8, <4 x float> %load17, <4 x float> %fmuladd7, <4 x float> %fmuladd16, ptr%out_ptr) {
16
+
; CHECK-LABEL: @test1(
17
17
; CHECK-NEXT: entry:
18
18
; CHECK-NEXT: [[VEXT165_I:%.*]] = shufflevector <4 x float> [[LOAD6:%.*]], <4 x float> [[LOAD7:%.*]], <4 x i32> <i32 2, i32 3, i32 4, i32 5>
19
19
; CHECK-NEXT: [[VEXT309_I:%.*]] = shufflevector <4 x float> [[LOAD7]], <4 x float> [[LOAD8:%.*]], <4 x i32> <i32 2, i32 3, i32 4, i32 5>
@@ -40,3 +40,42 @@ entry:
40
40
}
41
41
42
42
declare <4 x float> @llvm.fmuladd.v4f32(<4 x float>, <4 x float>, <4 x float>)
43
+
44
+
; YAML: --- !Passed
45
+
; YAML: Pass: slp-vectorizer
46
+
; YAML: Name: StoresVectorized
47
+
; YAML: Function: test2
48
+
; YAML: Args:
49
+
; YAML: - String: 'Stores SLP vectorized with cost '
50
+
; YAML: - Cost: '16'
51
+
; YAML: - String: ' and with tree size '
52
+
; YAML: - TreeSize: '5'
53
+
54
+
definevoid@test2(<8 x float> %load6, <8 x float> %load7, <8 x float> %load8, <8 x float> %load17, <8 x float> %fmuladd7, <8 x float> %fmuladd16, ptr%out_ptr) {
0 commit comments