Skip to content

Commit 2a907f4

Browse files
committed
rename simm12 to simm12_lo per llvm#160380
1 parent 7b3b2fa commit 2a907f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfoXCV.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -709,8 +709,8 @@ let Predicates = [HasVendorXCVmem, IsRV32], AddedComplexity = 1 in {
709709

710710
let Predicates = [HasVendorXCVelw, IsRV32] in {
711711
def : Pat<(int_riscv_cv_elw_elw (XLenVT GPR:$rs1)), (PseudoCV_ELW GPR:$rs1)>;
712-
def : Pat<(int_riscv_cv_elw_elw (AddrRegImm (XLenVT GPR:$rs1), simm12:$imm12)),
713-
(CV_ELW GPR:$rs1, simm12:$imm12)>;
712+
def : Pat<(int_riscv_cv_elw_elw (AddrRegImm (XLenVT GPR:$rs1), simm12_lo:$imm12)),
713+
(CV_ELW GPR:$rs1, simm12_lo:$imm12)>;
714714
}
715715

716716
multiclass PatCoreVBitManip<Intrinsic intr> {

0 commit comments

Comments
 (0)