Skip to content

Commit 65473de

Browse files
committed
Rename tests
1 parent aaca871 commit 65473de

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

llvm/test/CodeGen/RISCV/macro-fusions.mir

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ body: |
3838
PseudoRET
3939
...
4040

41-
# CHECK: slli_srli
41+
# CHECK: slli_srli_shifted_zext
4242
# CHECK: Macro fuse: {{.*}}SLLI - SRLI
4343
---
44-
name: slli_srli
44+
name: shifted_zext
4545
tracksRegLiveness: true
4646
body: |
4747
bb.0.entry:
@@ -55,10 +55,10 @@ body: |
5555
PseudoRET
5656
...
5757

58-
# CHECK: slli_srli_48
58+
# CHECK: slli_srli_zexth
5959
# CHECK: Macro fuse: {{.*}}SLLI - SRLI
6060
---
61-
name: slli_srli_48
61+
name: zexth
6262
tracksRegLiveness: true
6363
body: |
6464
bb.0.entry:
@@ -72,6 +72,23 @@ body: |
7272
PseudoRET
7373
...
7474

75+
# CHECK: slli_srli_zextw
76+
# CHECK: Macro fuse: {{.*}}SLLI - SRLI
77+
---
78+
name: zextw
79+
tracksRegLiveness: true
80+
body: |
81+
bb.0.entry:
82+
liveins: $x10
83+
%1:gpr = COPY $x10
84+
%2:gpr = SLLI %1, 32
85+
%3:gpr = XORI %1, 3
86+
%4:gpr = SRLI %2, 32
87+
$x10 = COPY %3
88+
$x11 = COPY %4
89+
PseudoRET
90+
...
91+
7592
# CHECK: slli_srli_no_fusion_0
7693
# CHECK-NOT: Macro fuse: {{.*}}SLLI - SRLI
7794
---

0 commit comments

Comments
 (0)