[llvm] [AMDGPU][NPM] Port AMDGPUArgumentUsageInfo to NPM (PR #170886)
Dark Steve via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 8 01:50:15 PST 2025
================
@@ -168,32 +172,68 @@ struct AMDGPUFunctionArgInfo {
static AMDGPUFunctionArgInfo fixedABILayout();
};
-class AMDGPUArgumentUsageInfo : public ImmutablePass {
+class AMDGPUArgumentUsageInfo {
private:
DenseMap<const Function *, AMDGPUFunctionArgInfo> ArgInfoMap;
public:
- static char ID;
-
static const AMDGPUFunctionArgInfo ExternFunctionInfo;
static const AMDGPUFunctionArgInfo FixedABIFunctionInfo;
- AMDGPUArgumentUsageInfo() : ImmutablePass(ID) { }
+ bool doInitialization(Module &M);
+ bool doFinalization(Module &M);
----------------
PrasoonMishra wrote:
Done.
https://github.com/llvm/llvm-project/pull/170886
More information about the llvm-commits
mailing list