[clang] [llvm] [AMDGPU] Convert AMDGPUResourceUsageAnalysis pass from Module to MF pass (PR #102913)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 19 08:24:32 PDT 2024
================
@@ -84,10 +87,13 @@ class MCResourceInfo {
/// functions with indirect calls should be assigned the module level maximum.
void gatherResourceInfo(
const MachineFunction &MF,
- const AMDGPUResourceUsageAnalysis::SIFunctionResourceInfo &FRI);
+ const AMDGPUResourceUsageAnalysis::SIFunctionResourceInfo &FRI,
+ MCContext &OutContext);
const MCExpr *createTotalNumVGPRs(const MachineFunction &MF, MCContext &Ctx);
const MCExpr *createTotalNumSGPRs(const MachineFunction &MF, bool hasXnack,
MCContext &Ctx);
};
} // namespace llvm
+
+#endif // LLVM_LIB_TARGET_AMDGPU_AMDGPUMCRESOURCEINFO_H
----------------
arsenm wrote:
Missing end of file
https://github.com/llvm/llvm-project/pull/102913
More information about the llvm-commits
mailing list