[llvm] [NFC][SPIRV] Fix SPIRV backend build (PR #101081)
Justin Bogner via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 29 13:52:10 PDT 2024
================
@@ -279,11 +279,12 @@ SPIRVInstructionSelector::SPIRVInstructionSelector(const SPIRVTargetMachine &TM,
void SPIRVInstructionSelector::setupMF(MachineFunction &MF, GISelKnownBits *KB,
CodeGenCoverage *CoverageInfo,
ProfileSummaryInfo *PSI,
- BlockFrequencyInfo *BFI) {
- MMI = &MF.getMMI().getObjFileInfo<SPIRVMachineModuleInfo>();
+ BlockFrequencyInfo *BFI,
+ MachineModuleInfo *MI) {
----------------
bogner wrote:
This should probably be `MMI` - `MI` usually stands for MachineInstruction
https://github.com/llvm/llvm-project/pull/101081
More information about the llvm-commits
mailing list