Skip to content

Commit 58d02d4

Browse files
committed
Add MIR test
1 parent bdaeb78 commit 58d02d4

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
2+
...
3+
---
4+
name: rev64_mask_1_undef
5+
alignment: 4
6+
legalized: true
7+
regBankSelected: true
8+
tracksRegLiveness: true
9+
body: |
10+
bb.1.entry:
11+
liveins: $x0, $x1
12+
%0:gpr(s64) = COPY $x0
13+
%1:gpr(s32) = G_CONSTANT i32 0
14+
%2:gpr(s32) = G_TRUNC %0(s64)
15+
%3:gpr(s32) = G_ICMP intpred(eq), %1(s32), %2(s32)
16+
;%1:_(<2 x s32>) = COPY $d1
17+
;%2:_(<2 x s32>) = G_SHUFFLE_VECTOR %0(<2 x s32>), %1, shufflemask(1, undef)
18+
;$d0 = COPY %2(<2 x s32>)
19+
RET_ReallyLR implicit $x0

0 commit comments

Comments
 (0)