riscv: Mark normalized32 after mapping.

It's less confusing to separate it.
This commit is contained in:
Unknown W. Brackets committed 2023-08-20 12:42:11 -07:00
1 parent f9bf7de701
commit e40ae60029
8 files changed
+37 -28

No files matched your search

+2 -1
View File
@@ -81,7 +81,8 @@ void RiscVJitBackend::CompIR_Load(IRInst inst) {
addrReg = SCRATCH1;
}
// With NOINIT, MapReg won't subtract MEMBASEREG even if dest == src1.
regs_.MapGPR(inst.dest, MIPSMap::NOINIT | MIPSMap::MARK_NORM32);
regs_.MapGPR(inst.dest, MIPSMap::NOINIT);
regs_.MarkGPRDirty(inst.dest, true);
s32 imm = AdjustForAddressOffset(&addrReg, inst.constant);