================ @@ -40,12 +42,19 @@ class AMDGPUAsmPrinter final : public AsmPrinter { AMDGPUResourceUsageAnalysis *ResourceUsage; + MCResourceInfo RI; + SIProgramInfo CurrentProgramInfo; std::unique_ptr<AMDGPU::HSAMD::MetadataStreamer> HSAMetadataStream; MCCodeEmitter *DumpCodeInstEmitter = nullptr; + // validateMCResourceInfo cannot recompute parts of the occupancy as it does + // for other metadata to validate (e.g., NumSGPRs) so a map is necessary if we + // really want to track and validate the occupancy. ---------------- arsenm wrote:
I don't see why this is the case https://github.com/llvm/llvm-project/pull/102913 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits