[PATCH] D138179: MIPS: fix build from IR files, nan2008 and FpAbi
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Nov 19 15:32:03 PST 2022
MaskRay accepted this revision.
MaskRay added inline comments.
================
Comment at: llvm/lib/Target/Mips/MipsAsmPrinter.cpp:402
MipsTargetStreamer &TS = getTargetStreamer();
+ const MipsTargetMachine &MTM = static_cast<const MipsTargetMachine &>(TM);
----------------
delete blank line
================
Comment at: llvm/lib/Target/Mips/MipsAsmPrinter.cpp:404
+ const MipsTargetMachine &MTM = static_cast<const MipsTargetMachine &>(TM);
+ const MipsABIInfo &ABI = MTM.getABI();
+
----------------
If `ABI` only used once, avoid the variable
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138179/new/
https://reviews.llvm.org/D138179
More information about the cfe-commits
mailing list