1 # RUN: llc -mtriple riscv32 -mattr=+v -start-after riscv-expand-pseudo -o - %s | FileCheck %s
2 # RUN: llc -mtriple riscv64 -mattr=+v -start-after riscv-expand-pseudo -o - %s | FileCheck %s
5 define void @vnot_mask_1() {
8 define void @vnot_mask_2() {
11 define void @vnot_no_mask_1() {
14 define void @vnot_no_mask_2() {
24 ; CHECK-LABEL: vnot_mask_1:
25 ; CHECK: vnot.v v25, v25, v0.t
27 $v25 = VXOR_VI killed $v25, -1, $v0, implicit $vtype, implicit $vl
35 ; CHECK-LABEL: vnot_mask_2:
36 ; CHECK: vnot.v v1, v25, v0.t
38 $v1 = VXOR_VI killed $v25, -1, $v0, implicit $vtype, implicit $vl
46 ; CHECK-LABEL: vnot_no_mask_1:
47 ; CHECK: vnot.v v25, v25
49 $v25 = VXOR_VI killed $v25, -1, $noreg, implicit $vtype, implicit $vl
57 ; CHECK-LABEL: vnot_no_mask_2:
58 ; CHECK: vnot.v v1, v25
60 $v1 = VXOR_VI killed $v25, -1, $noreg, implicit $vtype, implicit $vl