Skip to content

Commit 403a7c3

Browse files
committed
[RISCV][NFC] precommit testcase
1 parent eb76982 commit 403a7c3

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+
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 3
2+
# RUN: llc -mtriple=riscv64 -mattr=+v -verify-machineinstrs -run-pass=riscv-init-undef -o - %s | FileCheck %s --check-prefix=MIR
3+
...
4+
---
5+
name: vrgather_all_undef
6+
tracksRegLiveness: true
7+
body: |
8+
bb.0.entry:
9+
; MIR-LABEL: name: vrgather_all_undef
10+
; MIR: [[PseudoRVVInitUndefM1_:%[0-9]+]]:vr = PseudoRVVInitUndefM1
11+
; MIR-NEXT: early-clobber %1:vr = PseudoVRGATHER_VI_M1 $noreg, killed [[PseudoRVVInitUndefM1_]], 0, 0, 5 /* e32 */, 0 /* tu, mu */
12+
; MIR-NEXT: $v8 = COPY %1
13+
; MIR-NEXT: PseudoRET implicit $v8
14+
%2:vr = IMPLICIT_DEF
15+
early-clobber %1:vr = PseudoVRGATHER_VI_M1 $noreg, killed undef %2, 0, 0, 5 /* e32 */, 0 /* tu, mu */
16+
$v8 = COPY %1
17+
PseudoRET implicit $v8
18+
19+
...

0 commit comments

Comments
 (0)