@@ -55,7 +55,7 @@ declare i8 @llvm.cttz.i8(i8)
55
55
define <2 x i64 > @test_cttz_v2i64 (<2 x i64 > %a ) {
56
56
;
57
57
; CHECK-LABEL: 'test_cttz_v2i64'
58
- ; CHECK-NEXT: Cost Model: Found costs of 10 for: %cttz = call <2 x i64> @llvm.cttz.v2i64(<2 x i64> %a, i1 true)
58
+ ; CHECK-NEXT: Cost Model: Found costs of RThru:10 CodeSize:6 Lat:10 SizeLat: 10 for: %cttz = call <2 x i64> @llvm.cttz.v2i64(<2 x i64> %a, i1 true)
59
59
; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <2 x i64> %cttz
60
60
;
61
61
%cttz = call <2 x i64 > @llvm.cttz.v2i64 (<2 x i64 > %a , i1 true )
@@ -65,7 +65,7 @@ define <2 x i64> @test_cttz_v2i64(<2 x i64> %a) {
65
65
define <2 x i32 > @test_cttz_v2i32 (<2 x i32 > %a ) {
66
66
;
67
67
; CHECK-LABEL: 'test_cttz_v2i32'
68
- ; CHECK-NEXT: Cost Model: Found costs of 10 for: %cttz = call <2 x i32> @llvm.cttz.v2i32(<2 x i32> %a, i1 true)
68
+ ; CHECK-NEXT: Cost Model: Found costs of RThru:10 CodeSize:6 Lat:10 SizeLat: 10 for: %cttz = call <2 x i32> @llvm.cttz.v2i32(<2 x i32> %a, i1 true)
69
69
; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <2 x i32> %cttz
70
70
;
71
71
%cttz = call <2 x i32 > @llvm.cttz.v2i32 (<2 x i32 > %a , i1 true )
@@ -75,7 +75,7 @@ define <2 x i32> @test_cttz_v2i32(<2 x i32> %a) {
75
75
define <4 x i32 > @test_cttz_v4i32 (<4 x i32 > %a ) {
76
76
;
77
77
; CHECK-LABEL: 'test_cttz_v4i32'
78
- ; CHECK-NEXT: Cost Model: Found costs of 20 for: %cttz = call <4 x i32> @llvm.cttz.v4i32(<4 x i32> %a, i1 true)
78
+ ; CHECK-NEXT: Cost Model: Found costs of RThru:20 CodeSize:12 Lat:20 SizeLat: 20 for: %cttz = call <4 x i32> @llvm.cttz.v4i32(<4 x i32> %a, i1 true)
79
79
; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <4 x i32> %cttz
80
80
;
81
81
%cttz = call <4 x i32 > @llvm.cttz.v4i32 (<4 x i32 > %a , i1 true )
@@ -85,7 +85,7 @@ define <4 x i32> @test_cttz_v4i32(<4 x i32> %a) {
85
85
define <2 x i16 > @test_cttz_v2i16 (<2 x i16 > %a ) {
86
86
;
87
87
; CHECK-LABEL: 'test_cttz_v2i16'
88
- ; CHECK-NEXT: Cost Model: Found costs of 10 for: %cttz = call <2 x i16> @llvm.cttz.v2i16(<2 x i16> %a, i1 true)
88
+ ; CHECK-NEXT: Cost Model: Found costs of RThru:10 CodeSize:6 Lat:10 SizeLat: 10 for: %cttz = call <2 x i16> @llvm.cttz.v2i16(<2 x i16> %a, i1 true)
89
89
; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <2 x i16> %cttz
90
90
;
91
91
%cttz = call <2 x i16 > @llvm.cttz.v2i16 (<2 x i16 > %a , i1 true )
@@ -95,7 +95,7 @@ define <2 x i16> @test_cttz_v2i16(<2 x i16> %a) {
95
95
define <4 x i16 > @test_cttz_v4i16 (<4 x i16 > %a ) {
96
96
;
97
97
; CHECK-LABEL: 'test_cttz_v4i16'
98
- ; CHECK-NEXT: Cost Model: Found costs of 20 for: %cttz = call <4 x i16> @llvm.cttz.v4i16(<4 x i16> %a, i1 true)
98
+ ; CHECK-NEXT: Cost Model: Found costs of RThru:20 CodeSize:12 Lat:20 SizeLat: 20 for: %cttz = call <4 x i16> @llvm.cttz.v4i16(<4 x i16> %a, i1 true)
99
99
; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <4 x i16> %cttz
100
100
;
101
101
%cttz = call <4 x i16 > @llvm.cttz.v4i16 (<4 x i16 > %a , i1 true )
@@ -105,7 +105,7 @@ define <4 x i16> @test_cttz_v4i16(<4 x i16> %a) {
105
105
define <8 x i16 > @test_cttz_v8i16 (<8 x i16 > %a ) {
106
106
;
107
107
; CHECK-LABEL: 'test_cttz_v8i16'
108
- ; CHECK-NEXT: Cost Model: Found costs of 40 for: %cttz = call <8 x i16> @llvm.cttz.v8i16(<8 x i16> %a, i1 true)
108
+ ; CHECK-NEXT: Cost Model: Found costs of RThru:40 CodeSize:24 Lat:40 SizeLat: 40 for: %cttz = call <8 x i16> @llvm.cttz.v8i16(<8 x i16> %a, i1 true)
109
109
; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <8 x i16> %cttz
110
110
;
111
111
%cttz = call <8 x i16 > @llvm.cttz.v8i16 (<8 x i16 > %a , i1 true )
@@ -115,7 +115,7 @@ define <8 x i16> @test_cttz_v8i16(<8 x i16> %a) {
115
115
define <2 x i8 > @test_cttz_v2i8 (<2 x i8 > %a ) {
116
116
;
117
117
; CHECK-LABEL: 'test_cttz_v2i8'
118
- ; CHECK-NEXT: Cost Model: Found costs of 10 for: %cttz = call <2 x i8> @llvm.cttz.v2i8(<2 x i8> %a, i1 true)
118
+ ; CHECK-NEXT: Cost Model: Found costs of RThru:10 CodeSize:6 Lat:10 SizeLat: 10 for: %cttz = call <2 x i8> @llvm.cttz.v2i8(<2 x i8> %a, i1 true)
119
119
; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <2 x i8> %cttz
120
120
;
121
121
%cttz = call <2 x i8 > @llvm.cttz.v2i8 (<2 x i8 > %a , i1 true )
@@ -125,7 +125,7 @@ define <2 x i8> @test_cttz_v2i8(<2 x i8> %a) {
125
125
define <4 x i8 > @test_cttz_v4i8 (<4 x i8 > %a ) {
126
126
;
127
127
; CHECK-LABEL: 'test_cttz_v4i8'
128
- ; CHECK-NEXT: Cost Model: Found costs of 20 for: %cttz = call <4 x i8> @llvm.cttz.v4i8(<4 x i8> %a, i1 true)
128
+ ; CHECK-NEXT: Cost Model: Found costs of RThru:20 CodeSize:12 Lat:20 SizeLat: 20 for: %cttz = call <4 x i8> @llvm.cttz.v4i8(<4 x i8> %a, i1 true)
129
129
; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <4 x i8> %cttz
130
130
;
131
131
%cttz = call <4 x i8 > @llvm.cttz.v4i8 (<4 x i8 > %a , i1 true )
@@ -135,7 +135,7 @@ define <4 x i8> @test_cttz_v4i8(<4 x i8> %a) {
135
135
define <8 x i8 > @test_cttz_v8i8 (<8 x i8 > %a ) {
136
136
;
137
137
; CHECK-LABEL: 'test_cttz_v8i8'
138
- ; CHECK-NEXT: Cost Model: Found costs of 40 for: %cttz = call <8 x i8> @llvm.cttz.v8i8(<8 x i8> %a, i1 true)
138
+ ; CHECK-NEXT: Cost Model: Found costs of RThru:40 CodeSize:24 Lat:40 SizeLat: 40 for: %cttz = call <8 x i8> @llvm.cttz.v8i8(<8 x i8> %a, i1 true)
139
139
; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <8 x i8> %cttz
140
140
;
141
141
%cttz = call <8 x i8 > @llvm.cttz.v8i8 (<8 x i8 > %a , i1 true )
@@ -145,7 +145,7 @@ define <8 x i8> @test_cttz_v8i8(<8 x i8> %a) {
145
145
define <16 x i8 > @test_cttz_v16i8 (<16 x i8 > %a ) {
146
146
;
147
147
; CHECK-LABEL: 'test_cttz_v16i8'
148
- ; CHECK-NEXT: Cost Model: Found costs of 80 for: %cttz = call <16 x i8> @llvm.cttz.v16i8(<16 x i8> %a, i1 true)
148
+ ; CHECK-NEXT: Cost Model: Found costs of RThru:80 CodeSize:48 Lat:80 SizeLat: 80 for: %cttz = call <16 x i8> @llvm.cttz.v16i8(<16 x i8> %a, i1 true)
149
149
; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <16 x i8> %cttz
150
150
;
151
151
%cttz = call <16 x i8 > @llvm.cttz.v16i8 (<16 x i8 > %a , i1 true )
@@ -155,7 +155,7 @@ define <16 x i8> @test_cttz_v16i8(<16 x i8> %a) {
155
155
define <4 x i64 > @test_cttz_v4i64 (<4 x i64 > %a ) {
156
156
;
157
157
; CHECK-LABEL: 'test_cttz_v4i64'
158
- ; CHECK-NEXT: Cost Model: Found costs of 20 for: %cttz = call <4 x i64> @llvm.cttz.v4i64(<4 x i64> %a, i1 true)
158
+ ; CHECK-NEXT: Cost Model: Found costs of RThru:20 CodeSize:12 Lat:20 SizeLat: 20 for: %cttz = call <4 x i64> @llvm.cttz.v4i64(<4 x i64> %a, i1 true)
159
159
; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <4 x i64> %cttz
160
160
;
161
161
%cttz = call <4 x i64 > @llvm.cttz.v4i64 (<4 x i64 > %a , i1 true )
@@ -165,7 +165,7 @@ define <4 x i64> @test_cttz_v4i64(<4 x i64> %a) {
165
165
define <8 x i32 > @test_cttz_v8i32 (<8 x i32 > %a ) {
166
166
;
167
167
; CHECK-LABEL: 'test_cttz_v8i32'
168
- ; CHECK-NEXT: Cost Model: Found costs of 40 for: %cttz = call <8 x i32> @llvm.cttz.v8i32(<8 x i32> %a, i1 true)
168
+ ; CHECK-NEXT: Cost Model: Found costs of RThru:40 CodeSize:24 Lat:40 SizeLat: 40 for: %cttz = call <8 x i32> @llvm.cttz.v8i32(<8 x i32> %a, i1 true)
169
169
; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <8 x i32> %cttz
170
170
;
171
171
%cttz = call <8 x i32 > @llvm.cttz.v8i32 (<8 x i32 > %a , i1 true )
@@ -175,7 +175,7 @@ define <8 x i32> @test_cttz_v8i32(<8 x i32> %a) {
175
175
define <16 x i16 > @test_cttz_v16i16 (<16 x i16 > %a ) {
176
176
;
177
177
; CHECK-LABEL: 'test_cttz_v16i16'
178
- ; CHECK-NEXT: Cost Model: Found costs of 80 for: %cttz = call <16 x i16> @llvm.cttz.v16i16(<16 x i16> %a, i1 true)
178
+ ; CHECK-NEXT: Cost Model: Found costs of RThru:80 CodeSize:48 Lat:80 SizeLat: 80 for: %cttz = call <16 x i16> @llvm.cttz.v16i16(<16 x i16> %a, i1 true)
179
179
; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <16 x i16> %cttz
180
180
;
181
181
%cttz = call <16 x i16 > @llvm.cttz.v16i16 (<16 x i16 > %a , i1 true )
@@ -185,7 +185,7 @@ define <16 x i16> @test_cttz_v16i16(<16 x i16> %a) {
185
185
define <32 x i8 > @test_cttz_v32i8 (<32 x i8 > %a ) {
186
186
;
187
187
; CHECK-LABEL: 'test_cttz_v32i8'
188
- ; CHECK-NEXT: Cost Model: Found costs of 160 for: %cttz = call <32 x i8> @llvm.cttz.v32i8(<32 x i8> %a, i1 true)
188
+ ; CHECK-NEXT: Cost Model: Found costs of RThru:160 CodeSize:96 Lat:160 SizeLat: 160 for: %cttz = call <32 x i8> @llvm.cttz.v32i8(<32 x i8> %a, i1 true)
189
189
; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <32 x i8> %cttz
190
190
;
191
191
%cttz = call <32 x i8 > @llvm.cttz.v32i8 (<32 x i8 > %a , i1 true )
0 commit comments