Skip to content

Commit 80b0497

Browse files
committed
fixup! commit test
1 parent a67ce72 commit 80b0497

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 5
2+
# RUN: llc -mtriple=riscv32 -mattr=+zcmp -run-pass=riscv-move-merge -verify-machineinstrs %s -o - | FileCheck %s
3+
---
4+
name: mov-merge
5+
tracksRegLiveness: true
6+
body: |
7+
bb.0.entry:
8+
liveins: $x8, $x9
9+
; CHECK-LABEL: name: mov-merge
10+
; CHECK: liveins: $x8, $x9
11+
; CHECK-NEXT: {{ $}}
12+
; CHECK-NEXT: $x12 = ADDI $x0, -3
13+
; CHECK-NEXT: SW renamable $x9, $x2, 56
14+
; CHECK-NEXT: CM_MVA01S killed renamable $x9, renamable $x8, implicit-def $x10, implicit-def $x11
15+
; CHECK-NEXT: SW renamable $x8, $x2, 60
16+
; CHECK-NEXT: PseudoRET
17+
$x12 = ADDI $x0, -3
18+
SW renamable $x9, $x2, 56
19+
$x10 = ADDI killed renamable $x9, 0
20+
SW renamable $x8, $x2, 60
21+
$x11 = ADDI killed renamable $x8, 0
22+
PseudoRET
23+
...

0 commit comments

Comments
 (0)