Skip to content

Commit 200c330

Browse files
committed
Precommit test
1 parent 53c9553 commit 200c330

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 5
2+
# RUN: llc %s -o - -mtriple=riscv64 -mattr=+v -run-pass=riscv-vl-optimizer -verify-machineinstrs | FileCheck %s
3+
4+
---
5+
name: vnsrl_wv_user
6+
body: |
7+
bb.0:
8+
liveins: $x1
9+
; CHECK-LABEL: name: vnsrl_wv_user
10+
; CHECK: liveins: $x1
11+
; CHECK-NEXT: {{ $}}
12+
; CHECK-NEXT: %vl:gprnox0 = COPY $x1
13+
; CHECK-NEXT: %x:vr = PseudoVADD_VV_MF4 $noreg, $noreg, $noreg, %vl, 4 /* e16 */, 0 /* tu, mu */
14+
; CHECK-NEXT: %y:vr = PseudoVNSRL_WV_MF4 $noreg, %x, $noreg, %vl, 4 /* e16 */, 0 /* tu, mu */
15+
%vl:gprnox0 = COPY $x1
16+
%x:vr = PseudoVADD_VV_MF4 $noreg, $noreg, $noreg, -1, 4 /* e16 */, 0 /* tu, mu */
17+
%y:vr = PseudoVNSRL_WV_MF4 $noreg, %x, $noreg, %vl, 4 /* e16 */, 0 /* tu, mu */
18+
...

0 commit comments

Comments
 (0)