Skip to content

Commit fbd53bc

Browse files
committed
[RISCV] Mark vmvNr.v as implicitly using vtype
This was pointed out in #118283 (comment). We cannot move these between vtype definitions as they depend on SEW and require vill to be clear.
1 parent 5f881b7 commit fbd53bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfoV.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1726,7 +1726,7 @@ foreach n = [1, 2, 4, 8] in {
17261726
def VMV#n#R_V : RVInstV<0b100111, !add(n, -1), OPIVI, (outs vrc:$vd),
17271727
(ins vrc:$vs2), "vmv" # n # "r.v", "$vd, $vs2">,
17281728
VMVRSched<n> {
1729-
let Uses = [];
1729+
let Uses = [VTYPE];
17301730
let vm = 1;
17311731
}
17321732
}

0 commit comments

Comments
 (0)