llvm-project
8a3891ce - [AMDGPU][NPM] Preserve analyses in AMDGPURewriteAGPRCopyMFMA for NPM (#170130)

Commit
29 days ago
[AMDGPU][NPM] Preserve analyses in AMDGPURewriteAGPRCopyMFMA for NPM (#170130) The pass preserved LiveStacksAnalysis but failed to preserve LiveIntervalsAnalysis, LiveRegMatrixAnalysis, VirtRegMapAnalysis, and SlotIndexesAnalysis under NPM. This caused these analyses to be invalidated and recomputed, leading to incorrect behavior in subsequent passes like VirtRegRewriter. Fix by explicitly preserving all required analyses in the NPM version, matching the legacy pass manager behavior. --------- Co-authored-by: vikhegde <vikram.hegde@amd.com>
Author
Parents
Loading