We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4393e06 commit a3953d9Copy full SHA for a3953d9
llvm/lib/Target/AMDGPU/AMDGPUMarkLastScratchLoad.cpp
@@ -69,11 +69,11 @@ bool AMDGPUMarkLastScratchLoadLegacy::runOnMachineFunction(
69
if (skipFunction(MF.getFunction()))
70
return false;
71
72
- auto *LS = &getAnalysis<LiveStacksWrapperLegacy>().getLS();
73
- auto *LIS = &getAnalysis<LiveIntervalsWrapperPass>().getLIS();
74
- auto *SI = &getAnalysis<SlotIndexesWrapperPass>().getSI();
+ auto &LS = getAnalysis<LiveStacksWrapperLegacy>().getLS();
+ auto &LIS = getAnalysis<LiveIntervalsWrapperPass>().getLIS();
+ auto &SI = getAnalysis<SlotIndexesWrapperPass>().getSI();
75
76
- return AMDGPUMarkLastScratchLoad(LS, LIS, SI).run(MF);
+ return AMDGPUMarkLastScratchLoad(&LS, &LIS, &SI).run(MF);
77
}
78
79
PreservedAnalyses
0 commit comments