Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit fb447e7

Browse files
committedJun 2, 2023
[LoongArch] Use Subtarget consistently during LoongArchISelLowering init. NFC
1 parent 75cdd1c commit fb447e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ LoongArchTargetLowering::LoongArchTargetLowering(const TargetMachine &TM,
183183
}
184184

185185
// Compute derived properties from the register classes.
186-
computeRegisterProperties(STI.getRegisterInfo());
186+
computeRegisterProperties(Subtarget.getRegisterInfo());
187187

188188
setStackPointerRegisterToSaveRestore(LoongArch::R3);
189189

0 commit comments

Comments
 (0)
Please sign in to comment.