File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -265,6 +265,11 @@ void AMDGPUAsmPrinter::emitImplicitDef(const MachineInstr *MI) const {
265265 OutStreamer->addBlankLine ();
266266}
267267
268+ void AMDGPUAsmPrinter::run (MachineFunction &MF, MachineFunctionAnalysisManager &MFAM) {
269+ this ->MFAM = &MFAM;
270+ (void ) this ->runOnMachineFunction (MF);
271+ }
272+
268273void AMDGPUAsmPrinter::emitFunctionEntryLabel () {
269274 if (TM.getTargetTriple ().getOS () == Triple::AMDHSA) {
270275 AsmPrinter::emitFunctionEntryLabel ();
Original file line number Diff line number Diff line change @@ -134,6 +134,8 @@ class AMDGPUAsmPrinter final : public AsmPrinter {
134134
135135 void emitBasicBlockStart (const MachineBasicBlock &MBB) override ;
136136
137+ void run (MachineFunction &MF, MachineFunctionAnalysisManager &) override ;
138+
137139 void emitGlobalVariable (const GlobalVariable *GV) override ;
138140
139141 void emitStartOfAsmFile (Module &M) override ;
You can’t perform that action at this time.
0 commit comments