Skip to content

Commit 2e3027a

Browse files
fixup! improve test names
1 parent cf37397 commit 2e3027a

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

llvm/test/CodeGen/RISCV/rvv/vl-opt-instrs.ll

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
; RUN: sed 's/iXLen/i32/g' %s | llc -mtriple=riscv32 -mattr=+v,+zvbb -riscv-enable-vl-optimizer -verify-machineinstrs | FileCheck %s --check-prefixes=VLOPT
55
; RUN: sed 's/iXLen/i64/g' %s | llc -mtriple=riscv64 -mattr=+v,+zvbb -riscv-enable-vl-optimizer -verify-machineinstrs | FileCheck %s --check-prefixes=VLOPT
66

7-
; The purpose of this test is to check the behavior of specific instructions as it relates to the VL optimizer
7+
; The purpose of this file is to check the behavior of specific instructions as it relates to the VL optimizer
88

99
define <vscale x 4 x i32> @vadd_vi(<vscale x 4 x i32> %a, iXLen %vl) {
1010
; NOVLOPT-LABEL: vadd_vi:
@@ -146,7 +146,7 @@ define <vscale x 4 x i32> @vrsub_vx(<vscale x 4 x i32> %a, i32 %b, iXLen %vl) {
146146
ret <vscale x 4 x i32> %2
147147
}
148148

149-
define <vscale x 4 x i64> @vwaddu.vv(<vscale x 4 x i32> %a, <vscale x 4 x i32> %b, iXLen %vl) {
149+
define <vscale x 4 x i64> @vwaddu_vv(<vscale x 4 x i32> %a, <vscale x 4 x i32> %b, iXLen %vl) {
150150
; NOVLOPT-LABEL: vwaddu.vv:
151151
; NOVLOPT: # %bb.0:
152152
; NOVLOPT-NEXT: vsetvli a1, zero, e32, m2, ta, ma
@@ -167,7 +167,7 @@ define <vscale x 4 x i64> @vwaddu.vv(<vscale x 4 x i32> %a, <vscale x 4 x i32> %
167167
ret <vscale x 4 x i64> %2
168168
}
169169

170-
define <vscale x 4 x i64> @vwaddu.vx(<vscale x 4 x i32> %a, i32 %b, iXLen %vl) {
170+
define <vscale x 4 x i64> @vwaddu_vx(<vscale x 4 x i32> %a, i32 %b, iXLen %vl) {
171171
; NOVLOPT-LABEL: vwaddu.vx:
172172
; NOVLOPT: # %bb.0:
173173
; NOVLOPT-NEXT: vsetvli a2, zero, e32, m2, ta, ma
@@ -188,7 +188,7 @@ define <vscale x 4 x i64> @vwaddu.vx(<vscale x 4 x i32> %a, i32 %b, iXLen %vl) {
188188
ret <vscale x 4 x i64> %2
189189
}
190190

191-
define <vscale x 4 x i64> @vwsubu.vv(<vscale x 4 x i32> %a, <vscale x 4 x i32> %b, iXLen %vl) {
191+
define <vscale x 4 x i64> @vwsubu_vv(<vscale x 4 x i32> %a, <vscale x 4 x i32> %b, iXLen %vl) {
192192
; NOVLOPT-LABEL: vwsubu.vv:
193193
; NOVLOPT: # %bb.0:
194194
; NOVLOPT-NEXT: vsetvli a1, zero, e32, m2, ta, ma
@@ -209,7 +209,7 @@ define <vscale x 4 x i64> @vwsubu.vv(<vscale x 4 x i32> %a, <vscale x 4 x i32> %
209209
ret <vscale x 4 x i64> %2
210210
}
211211

212-
define <vscale x 4 x i64> @vwsubu.vx(<vscale x 4 x i32> %a, i32 %b, iXLen %vl) {
212+
define <vscale x 4 x i64> @vwsubu_vx(<vscale x 4 x i32> %a, i32 %b, iXLen %vl) {
213213
; NOVLOPT-LABEL: vwsubu.vx:
214214
; NOVLOPT: # %bb.0:
215215
; NOVLOPT-NEXT: vsetvli a2, zero, e32, m2, ta, ma
@@ -230,7 +230,7 @@ define <vscale x 4 x i64> @vwsubu.vx(<vscale x 4 x i32> %a, i32 %b, iXLen %vl) {
230230
ret <vscale x 4 x i64> %2
231231
}
232232

233-
define <vscale x 4 x i64> @vwadd.vv(<vscale x 4 x i32> %a, <vscale x 4 x i32> %b, iXLen %vl) {
233+
define <vscale x 4 x i64> @vwadd_vv(<vscale x 4 x i32> %a, <vscale x 4 x i32> %b, iXLen %vl) {
234234
; NOVLOPT-LABEL: vwadd.vv:
235235
; NOVLOPT: # %bb.0:
236236
; NOVLOPT-NEXT: vsetvli a1, zero, e32, m2, ta, ma
@@ -251,7 +251,7 @@ define <vscale x 4 x i64> @vwadd.vv(<vscale x 4 x i32> %a, <vscale x 4 x i32> %b
251251
ret <vscale x 4 x i64> %2
252252
}
253253

254-
define <vscale x 4 x i64> @vwadd.vx(<vscale x 4 x i32> %a, i32 %b, iXLen %vl) {
254+
define <vscale x 4 x i64> @vwadd_vx(<vscale x 4 x i32> %a, i32 %b, iXLen %vl) {
255255
; NOVLOPT-LABEL: vwadd.vx:
256256
; NOVLOPT: # %bb.0:
257257
; NOVLOPT-NEXT: vsetvli a2, zero, e32, m2, ta, ma
@@ -272,7 +272,7 @@ define <vscale x 4 x i64> @vwadd.vx(<vscale x 4 x i32> %a, i32 %b, iXLen %vl) {
272272
ret <vscale x 4 x i64> %2
273273
}
274274

275-
define <vscale x 4 x i64> @vwsub.vv(<vscale x 4 x i32> %a, <vscale x 4 x i32> %b, iXLen %vl) {
275+
define <vscale x 4 x i64> @vwsub_vv(<vscale x 4 x i32> %a, <vscale x 4 x i32> %b, iXLen %vl) {
276276
; NOVLOPT-LABEL: vwsub.vv:
277277
; NOVLOPT: # %bb.0:
278278
; NOVLOPT-NEXT: vsetvli a1, zero, e32, m2, ta, ma
@@ -293,7 +293,7 @@ define <vscale x 4 x i64> @vwsub.vv(<vscale x 4 x i32> %a, <vscale x 4 x i32> %b
293293
ret <vscale x 4 x i64> %2
294294
}
295295

296-
define <vscale x 4 x i64> @vwsub.vx(<vscale x 4 x i32> %a, i32 %b, iXLen %vl) {
296+
define <vscale x 4 x i64> @vwsub_vx(<vscale x 4 x i32> %a, i32 %b, iXLen %vl) {
297297
; NOVLOPT-LABEL: vwsub.vx:
298298
; NOVLOPT: # %bb.0:
299299
; NOVLOPT-NEXT: vsetvli a2, zero, e32, m2, ta, ma
@@ -314,7 +314,7 @@ define <vscale x 4 x i64> @vwsub.vx(<vscale x 4 x i32> %a, i32 %b, iXLen %vl) {
314314
ret <vscale x 4 x i64> %2
315315
}
316316

317-
define <vscale x 4 x i64> @vwaddu.wv(<vscale x 4 x i64> %a, <vscale x 4 x i32> %b, iXLen %vl) {
317+
define <vscale x 4 x i64> @vwaddu_wv(<vscale x 4 x i64> %a, <vscale x 4 x i32> %b, iXLen %vl) {
318318
; NOVLOPT-LABEL: vwaddu.wv:
319319
; NOVLOPT: # %bb.0:
320320
; NOVLOPT-NEXT: vsetvli a1, zero, e32, m2, ta, ma
@@ -335,7 +335,7 @@ define <vscale x 4 x i64> @vwaddu.wv(<vscale x 4 x i64> %a, <vscale x 4 x i32> %
335335
ret <vscale x 4 x i64> %2
336336
}
337337

338-
define <vscale x 4 x i64> @vwaddu.wx(<vscale x 4 x i64> %a, i32 %b, iXLen %vl) {
338+
define <vscale x 4 x i64> @vwaddu_wx(<vscale x 4 x i64> %a, i32 %b, iXLen %vl) {
339339
; NOVLOPT-LABEL: vwaddu.wx:
340340
; NOVLOPT: # %bb.0:
341341
; NOVLOPT-NEXT: vsetvli a2, zero, e32, m2, ta, ma
@@ -356,7 +356,7 @@ define <vscale x 4 x i64> @vwaddu.wx(<vscale x 4 x i64> %a, i32 %b, iXLen %vl) {
356356
ret <vscale x 4 x i64> %2
357357
}
358358

359-
define <vscale x 4 x i64> @vwsubu.wv(<vscale x 4 x i64> %a, <vscale x 4 x i32> %b, iXLen %vl) {
359+
define <vscale x 4 x i64> @vwsubu_wv(<vscale x 4 x i64> %a, <vscale x 4 x i32> %b, iXLen %vl) {
360360
; NOVLOPT-LABEL: vwsubu.wv:
361361
; NOVLOPT: # %bb.0:
362362
; NOVLOPT-NEXT: vsetvli a1, zero, e32, m2, ta, ma
@@ -377,7 +377,7 @@ define <vscale x 4 x i64> @vwsubu.wv(<vscale x 4 x i64> %a, <vscale x 4 x i32> %
377377
ret <vscale x 4 x i64> %2
378378
}
379379

380-
define <vscale x 4 x i64> @vwsubu.wx(<vscale x 4 x i64> %a, i32 %b, iXLen %vl) {
380+
define <vscale x 4 x i64> @vwsubu_wx(<vscale x 4 x i64> %a, i32 %b, iXLen %vl) {
381381
; NOVLOPT-LABEL: vwsubu.wx:
382382
; NOVLOPT: # %bb.0:
383383
; NOVLOPT-NEXT: vsetvli a2, zero, e32, m2, ta, ma
@@ -398,7 +398,7 @@ define <vscale x 4 x i64> @vwsubu.wx(<vscale x 4 x i64> %a, i32 %b, iXLen %vl) {
398398
ret <vscale x 4 x i64> %2
399399
}
400400

401-
define <vscale x 4 x i64> @vwadd.wv(<vscale x 4 x i64> %a, <vscale x 4 x i32> %b, iXLen %vl) {
401+
define <vscale x 4 x i64> @vwadd_wv(<vscale x 4 x i64> %a, <vscale x 4 x i32> %b, iXLen %vl) {
402402
; NOVLOPT-LABEL: vwadd.wv:
403403
; NOVLOPT: # %bb.0:
404404
; NOVLOPT-NEXT: vsetvli a1, zero, e32, m2, ta, ma
@@ -419,7 +419,7 @@ define <vscale x 4 x i64> @vwadd.wv(<vscale x 4 x i64> %a, <vscale x 4 x i32> %b
419419
ret <vscale x 4 x i64> %2
420420
}
421421

422-
define <vscale x 4 x i64> @vwadd.wx(<vscale x 4 x i64> %a, i32 %b, iXLen %vl) {
422+
define <vscale x 4 x i64> @vwadd_wx(<vscale x 4 x i64> %a, i32 %b, iXLen %vl) {
423423
; NOVLOPT-LABEL: vwadd.wx:
424424
; NOVLOPT: # %bb.0:
425425
; NOVLOPT-NEXT: vsetvli a2, zero, e32, m2, ta, ma
@@ -440,7 +440,7 @@ define <vscale x 4 x i64> @vwadd.wx(<vscale x 4 x i64> %a, i32 %b, iXLen %vl) {
440440
ret <vscale x 4 x i64> %2
441441
}
442442

443-
define <vscale x 4 x i64> @vwsub.wv(<vscale x 4 x i64> %a, <vscale x 4 x i32> %b, iXLen %vl) {
443+
define <vscale x 4 x i64> @vwsub_wv(<vscale x 4 x i64> %a, <vscale x 4 x i32> %b, iXLen %vl) {
444444
; NOVLOPT-LABEL: vwsub.wv:
445445
; NOVLOPT: # %bb.0:
446446
; NOVLOPT-NEXT: vsetvli a1, zero, e32, m2, ta, ma
@@ -461,7 +461,7 @@ define <vscale x 4 x i64> @vwsub.wv(<vscale x 4 x i64> %a, <vscale x 4 x i32> %b
461461
ret <vscale x 4 x i64> %2
462462
}
463463

464-
define <vscale x 4 x i64> @vwsub.wx(<vscale x 4 x i64> %a, i32 %b, iXLen %vl) {
464+
define <vscale x 4 x i64> @vwsub_wx(<vscale x 4 x i64> %a, i32 %b, iXLen %vl) {
465465
; NOVLOPT-LABEL: vwsub.wx:
466466
; NOVLOPT: # %bb.0:
467467
; NOVLOPT-NEXT: vsetvli a2, zero, e32, m2, ta, ma
@@ -482,7 +482,7 @@ define <vscale x 4 x i64> @vwsub.wx(<vscale x 4 x i64> %a, i32 %b, iXLen %vl) {
482482
ret <vscale x 4 x i64> %2
483483
}
484484

485-
define <vscale x 4 x i32> @vsext.vf2(<vscale x 4 x i16> %a, <vscale x 4 x i32> %b, iXLen %vl) {
485+
define <vscale x 4 x i32> @vsext_vf2(<vscale x 4 x i16> %a, <vscale x 4 x i32> %b, iXLen %vl) {
486486
; NOVLOPT-LABEL: vsext.vf2:
487487
; NOVLOPT: # %bb.0:
488488
; NOVLOPT-NEXT: vsetvli a1, zero, e32, m2, ta, ma
@@ -502,7 +502,7 @@ define <vscale x 4 x i32> @vsext.vf2(<vscale x 4 x i16> %a, <vscale x 4 x i32> %
502502
ret <vscale x 4 x i32> %2
503503
}
504504

505-
define <vscale x 4 x i32> @vsext.vf4(<vscale x 4 x i8> %a, <vscale x 4 x i32> %b, iXLen %vl) {
505+
define <vscale x 4 x i32> @vsext_vf4(<vscale x 4 x i8> %a, <vscale x 4 x i32> %b, iXLen %vl) {
506506
; NOVLOPT-LABEL: vsext.vf4:
507507
; NOVLOPT: # %bb.0:
508508
; NOVLOPT-NEXT: vsetvli a1, zero, e32, m2, ta, ma
@@ -522,7 +522,7 @@ define <vscale x 4 x i32> @vsext.vf4(<vscale x 4 x i8> %a, <vscale x 4 x i32> %b
522522
ret <vscale x 4 x i32> %2
523523
}
524524

525-
define <vscale x 4 x i64> @vsext.vf8(<vscale x 4 x i8> %a, <vscale x 4 x i64> %b, iXLen %vl) {
525+
define <vscale x 4 x i64> @vsext_vf8(<vscale x 4 x i8> %a, <vscale x 4 x i64> %b, iXLen %vl) {
526526
; NOVLOPT-LABEL: vsext.vf8:
527527
; NOVLOPT: # %bb.0:
528528
; NOVLOPT-NEXT: vsetvli a1, zero, e64, m4, ta, ma
@@ -542,7 +542,7 @@ define <vscale x 4 x i64> @vsext.vf8(<vscale x 4 x i8> %a, <vscale x 4 x i64> %b
542542
ret <vscale x 4 x i64> %2
543543
}
544544

545-
define <vscale x 4 x i32> @vzext.vf2(<vscale x 4 x i16> %a, <vscale x 4 x i32> %b, iXLen %vl) {
545+
define <vscale x 4 x i32> @vzext_vf2(<vscale x 4 x i16> %a, <vscale x 4 x i32> %b, iXLen %vl) {
546546
; NOVLOPT-LABEL: vzext.vf2:
547547
; NOVLOPT: # %bb.0:
548548
; NOVLOPT-NEXT: vsetvli a1, zero, e32, m2, ta, ma
@@ -562,7 +562,7 @@ define <vscale x 4 x i32> @vzext.vf2(<vscale x 4 x i16> %a, <vscale x 4 x i32> %
562562
ret <vscale x 4 x i32> %2
563563
}
564564

565-
define <vscale x 4 x i32> @vzext.vf4(<vscale x 4 x i8> %a, <vscale x 4 x i32> %b, iXLen %vl) {
565+
define <vscale x 4 x i32> @vzext_vf4(<vscale x 4 x i8> %a, <vscale x 4 x i32> %b, iXLen %vl) {
566566
; NOVLOPT-LABEL: vzext.vf4:
567567
; NOVLOPT: # %bb.0:
568568
; NOVLOPT-NEXT: vsetvli a1, zero, e32, m2, ta, ma
@@ -582,7 +582,7 @@ define <vscale x 4 x i32> @vzext.vf4(<vscale x 4 x i8> %a, <vscale x 4 x i32> %b
582582
ret <vscale x 4 x i32> %2
583583
}
584584

585-
define <vscale x 4 x i64> @vzext.vf8(<vscale x 4 x i8> %a, <vscale x 4 x i64> %b, iXLen %vl) {
585+
define <vscale x 4 x i64> @vzext_vf8(<vscale x 4 x i8> %a, <vscale x 4 x i64> %b, iXLen %vl) {
586586
; NOVLOPT-LABEL: vzext.vf8:
587587
; NOVLOPT: # %bb.0:
588588
; NOVLOPT-NEXT: vsetvli a1, zero, e64, m4, ta, ma
@@ -846,7 +846,7 @@ define <vscale x 4 x i32> @vwmaccu_vx(<vscale x 4 x i16> %a, i16 %b, iXLen %vl)
846846
ret <vscale x 4 x i32> %2
847847
}
848848

849-
define <vscale x 4 x i32> @vmv.v.i(<vscale x 4 x i32> %a, i32 %x, iXLen %vl) {
849+
define <vscale x 4 x i32> @vmv_v_i(<vscale x 4 x i32> %a, i32 %x, iXLen %vl) {
850850
; NOVLOPT-LABEL: vmv.v.i:
851851
; NOVLOPT: # %bb.0:
852852
; NOVLOPT-NEXT: vsetvli a0, zero, e32, m2, ta, ma
@@ -866,7 +866,7 @@ define <vscale x 4 x i32> @vmv.v.i(<vscale x 4 x i32> %a, i32 %x, iXLen %vl) {
866866
ret <vscale x 4 x i32> %2
867867
}
868868

869-
define <vscale x 4 x i32> @vmv.v.x(<vscale x 4 x i32> %a, i32 %x, iXLen %vl) {
869+
define <vscale x 4 x i32> @vmv_v_x(<vscale x 4 x i32> %a, i32 %x, iXLen %vl) {
870870
; NOVLOPT-LABEL: vmv.v.x:
871871
; NOVLOPT: # %bb.0:
872872
; NOVLOPT-NEXT: vsetvli a2, zero, e32, m2, ta, ma
@@ -886,7 +886,7 @@ define <vscale x 4 x i32> @vmv.v.x(<vscale x 4 x i32> %a, i32 %x, iXLen %vl) {
886886
ret <vscale x 4 x i32> %2
887887
}
888888

889-
define <vscale x 4 x i32> @vwsll.vi(<vscale x 4 x i16> %a, <vscale x 4 x i32> %b, iXLen %vl) {
889+
define <vscale x 4 x i32> @vwsll_vi(<vscale x 4 x i16> %a, <vscale x 4 x i32> %b, iXLen %vl) {
890890
; NOVLOPT-LABEL: vwsll.vi:
891891
; NOVLOPT: # %bb.0:
892892
; NOVLOPT-NEXT: vsetvli a1, zero, e16, m1, ta, ma

0 commit comments

Comments
 (0)