Skip to content

Commit 33dec91

Browse files
committed
Replace 0-31 with !range to align others
1 parent d2cea80 commit 33dec91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/RISCV/RISCVRegisterInfo.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ class VRegList<list<dag> LIn, int start, int nf, int lmul, bit isV0> {
416416
}
417417

418418
// Vector registers
419-
foreach Index = 0-31 in {
419+
foreach Index = !range(0, 32, 1) in {
420420
def V#Index : RISCVReg<Index, "v"#Index>, DwarfRegNum<[!add(Index, 96)]>;
421421
}
422422

0 commit comments

Comments
 (0)