@@ -14,35 +14,39 @@ target triple = "x86_64-unknown-linux-gnu"
14
14
define void @test () {
15
15
; SSE2-LABEL: 'test'
16
16
; SSE2: LV: Found an estimated cost of 1 for VF 1 For instruction: %v0 = load float, ptr %in0, align 4
17
- ; SSE2: Cost of 9 for VF 2: INTERLEAVE-GROUP with factor 3 at %v0
18
- ; SSE2: Cost of 21 for VF 4: INTERLEAVE-GROUP with factor 3 at %v0
19
- ; SSE2: Cost of 42 for VF 8: INTERLEAVE-GROUP with factor 3 at %v0
20
- ; SSE2: Cost of 84 for VF 16: INTERLEAVE-GROUP with factor 3 at %v0
17
+ ; SSE2: LV: Found an estimated cost of 1 for VF 1 For instruction: %v0 = load float, ptr %in0, align 4
18
+ ; SSE2: LV: Found an estimated cost of 9 for VF 2 For instruction: %v0 = load float, ptr %in0, align 4
19
+ ; SSE2: LV: Found an estimated cost of 21 for VF 4 For instruction: %v0 = load float, ptr %in0, align 4
20
+ ; SSE2: LV: Found an estimated cost of 42 for VF 8 For instruction: %v0 = load float, ptr %in0, align 4
21
+ ; SSE2: LV: Found an estimated cost of 84 for VF 16 For instruction: %v0 = load float, ptr %in0, align 4
21
22
;
22
23
; AVX1-LABEL: 'test'
23
24
; AVX1: LV: Found an estimated cost of 1 for VF 1 For instruction: %v0 = load float, ptr %in0, align 4
24
- ; AVX1: Cost of 11 for VF 2: INTERLEAVE-GROUP with factor 3 at %v0
25
- ; AVX1: Cost of 21 for VF 4: INTERLEAVE-GROUP with factor 3 at %v0
26
- ; AVX1: Cost of 45 for VF 8: INTERLEAVE-GROUP with factor 3 at %v0
27
- ; AVX1: Cost of 90 for VF 16: INTERLEAVE-GROUP with factor 3 at %v0
28
- ; AVX1: Cost of 180 for VF 32: INTERLEAVE-GROUP with factor 3 at %v0
25
+ ; AVX1: LV: Found an estimated cost of 1 for VF 1 For instruction: %v0 = load float, ptr %in0, align 4
26
+ ; AVX1: LV: Found an estimated cost of 11 for VF 2 For instruction: %v0 = load float, ptr %in0, align 4
27
+ ; AVX1: LV: Found an estimated cost of 21 for VF 4 For instruction: %v0 = load float, ptr %in0, align 4
28
+ ; AVX1: LV: Found an estimated cost of 45 for VF 8 For instruction: %v0 = load float, ptr %in0, align 4
29
+ ; AVX1: LV: Found an estimated cost of 90 for VF 16 For instruction: %v0 = load float, ptr %in0, align 4
30
+ ; AVX1: LV: Found an estimated cost of 180 for VF 32 For instruction: %v0 = load float, ptr %in0, align 4
29
31
;
30
32
; AVX2-LABEL: 'test'
31
33
; AVX2: LV: Found an estimated cost of 1 for VF 1 For instruction: %v0 = load float, ptr %in0, align 4
32
- ; AVX2: Cost of 6 for VF 2: INTERLEAVE-GROUP with factor 3 at %v0
33
- ; AVX2: Cost of 5 for VF 4: INTERLEAVE-GROUP with factor 3 at %v0
34
- ; AVX2: Cost of 10 for VF 8: INTERLEAVE-GROUP with factor 3 at %v0
35
- ; AVX2: Cost of 20 for VF 16: INTERLEAVE-GROUP with factor 3 at %v0
36
- ; AVX2: Cost of 44 for VF 32: INTERLEAVE-GROUP with factor 3 at %v0
34
+ ; AVX2: LV: Found an estimated cost of 1 for VF 1 For instruction: %v0 = load float, ptr %in0, align 4
35
+ ; AVX2: LV: Found an estimated cost of 6 for VF 2 For instruction: %v0 = load float, ptr %in0, align 4
36
+ ; AVX2: LV: Found an estimated cost of 5 for VF 4 For instruction: %v0 = load float, ptr %in0, align 4
37
+ ; AVX2: LV: Found an estimated cost of 10 for VF 8 For instruction: %v0 = load float, ptr %in0, align 4
38
+ ; AVX2: LV: Found an estimated cost of 20 for VF 16 For instruction: %v0 = load float, ptr %in0, align 4
39
+ ; AVX2: LV: Found an estimated cost of 44 for VF 32 For instruction: %v0 = load float, ptr %in0, align 4
37
40
;
38
41
; AVX512-LABEL: 'test'
39
42
; AVX512: LV: Found an estimated cost of 1 for VF 1 For instruction: %v0 = load float, ptr %in0, align 4
40
- ; AVX512: Cost of 4 for VF 2: INTERLEAVE-GROUP with factor 3 at %v0
41
- ; AVX512: Cost of 4 for VF 4: INTERLEAVE-GROUP with factor 3 at %v0
42
- ; AVX512: Cost of 6 for VF 8: INTERLEAVE-GROUP with factor 3 at %v0
43
- ; AVX512: Cost of 12 for VF 16: INTERLEAVE-GROUP with factor 3 at %v0
44
- ; AVX512: Cost of 51 for VF 32: INTERLEAVE-GROUP with factor 3 at %v0
45
- ; AVX512: Cost of 210 for VF 64: INTERLEAVE-GROUP with factor 3 at %v0
43
+ ; AVX512: LV: Found an estimated cost of 1 for VF 1 For instruction: %v0 = load float, ptr %in0, align 4
44
+ ; AVX512: LV: Found an estimated cost of 4 for VF 2 For instruction: %v0 = load float, ptr %in0, align 4
45
+ ; AVX512: LV: Found an estimated cost of 4 for VF 4 For instruction: %v0 = load float, ptr %in0, align 4
46
+ ; AVX512: LV: Found an estimated cost of 6 for VF 8 For instruction: %v0 = load float, ptr %in0, align 4
47
+ ; AVX512: LV: Found an estimated cost of 12 for VF 16 For instruction: %v0 = load float, ptr %in0, align 4
48
+ ; AVX512: LV: Found an estimated cost of 51 for VF 32 For instruction: %v0 = load float, ptr %in0, align 4
49
+ ; AVX512: LV: Found an estimated cost of 210 for VF 64 For instruction: %v0 = load float, ptr %in0, align 4
46
50
;
47
51
entry:
48
52
br label %for.body
0 commit comments