@@ -55,7 +55,7 @@ declare i8 @llvm.cttz.i8(i8)
5555define <2 x i64 > @test_cttz_v2i64 (<2 x i64 > %a ) {
5656;
5757; 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)
5959; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <2 x i64> %cttz
6060;
6161 %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) {
6565define <2 x i32 > @test_cttz_v2i32 (<2 x i32 > %a ) {
6666;
6767; 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)
6969; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <2 x i32> %cttz
7070;
7171 %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) {
7575define <4 x i32 > @test_cttz_v4i32 (<4 x i32 > %a ) {
7676;
7777; 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)
7979; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <4 x i32> %cttz
8080;
8181 %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) {
8585define <2 x i16 > @test_cttz_v2i16 (<2 x i16 > %a ) {
8686;
8787; 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)
8989; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <2 x i16> %cttz
9090;
9191 %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) {
9595define <4 x i16 > @test_cttz_v4i16 (<4 x i16 > %a ) {
9696;
9797; 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)
9999; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <4 x i16> %cttz
100100;
101101 %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) {
105105define <8 x i16 > @test_cttz_v8i16 (<8 x i16 > %a ) {
106106;
107107; 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)
109109; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <8 x i16> %cttz
110110;
111111 %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) {
115115define <2 x i8 > @test_cttz_v2i8 (<2 x i8 > %a ) {
116116;
117117; 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)
119119; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <2 x i8> %cttz
120120;
121121 %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) {
125125define <4 x i8 > @test_cttz_v4i8 (<4 x i8 > %a ) {
126126;
127127; 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)
129129; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <4 x i8> %cttz
130130;
131131 %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) {
135135define <8 x i8 > @test_cttz_v8i8 (<8 x i8 > %a ) {
136136;
137137; 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)
139139; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <8 x i8> %cttz
140140;
141141 %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) {
145145define <16 x i8 > @test_cttz_v16i8 (<16 x i8 > %a ) {
146146;
147147; 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)
149149; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <16 x i8> %cttz
150150;
151151 %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) {
155155define <4 x i64 > @test_cttz_v4i64 (<4 x i64 > %a ) {
156156;
157157; 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)
159159; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <4 x i64> %cttz
160160;
161161 %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) {
165165define <8 x i32 > @test_cttz_v8i32 (<8 x i32 > %a ) {
166166;
167167; 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)
169169; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <8 x i32> %cttz
170170;
171171 %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) {
175175define <16 x i16 > @test_cttz_v16i16 (<16 x i16 > %a ) {
176176;
177177; 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)
179179; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <16 x i16> %cttz
180180;
181181 %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) {
185185define <32 x i8 > @test_cttz_v32i8 (<32 x i8 > %a ) {
186186;
187187; 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)
189189; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret <32 x i8> %cttz
190190;
191191 %cttz = call <32 x i8 > @llvm.cttz.v32i8 (<32 x i8 > %a , i1 true )
0 commit comments