File tree 1 file changed +21
-4
lines changed 1 file changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ body: |
38
38
PseudoRET
39
39
...
40
40
41
- # CHECK: slli_srli
41
+ # CHECK: slli_srli_shifted_zext
42
42
# CHECK: Macro fuse: {{.*}}SLLI - SRLI
43
43
---
44
- name : slli_srli
44
+ name : shifted_zext
45
45
tracksRegLiveness : true
46
46
body : |
47
47
bb.0.entry:
@@ -55,10 +55,10 @@ body: |
55
55
PseudoRET
56
56
...
57
57
58
- # CHECK: slli_srli_48
58
+ # CHECK: slli_srli_zexth
59
59
# CHECK: Macro fuse: {{.*}}SLLI - SRLI
60
60
---
61
- name : slli_srli_48
61
+ name : zexth
62
62
tracksRegLiveness : true
63
63
body : |
64
64
bb.0.entry:
@@ -72,6 +72,23 @@ body: |
72
72
PseudoRET
73
73
...
74
74
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
+
75
92
# CHECK: slli_srli_no_fusion_0
76
93
# CHECK-NOT: Macro fuse: {{.*}}SLLI - SRLI
77
94
---
You can’t perform that action at this time.
0 commit comments