[llvm-branch-commits] [clang] [llvm] [AMDGPU][Attributor] Rework update of `AAAMDWavesPerEU` (PR #123995)
Matt Arsenault via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Mar 24 10:09:49 PDT 2025
================
@@ -1425,8 +1453,14 @@ static bool runImpl(Module &M, AnalysisGetter &AG, TargetMachine &TM,
}
}
- ChangeStatus Change = A.run();
- return Change == ChangeStatus::CHANGED;
+ bool Changed = A.run() == ChangeStatus::CHANGED;
+
+ if (Changed && (LTOPhase == ThinOrFullLTOPhase::None ||
+ LTOPhase == ThinOrFullLTOPhase::FullLTOPostLink ||
+ LTOPhase == ThinOrFullLTOPhase::ThinLTOPostLink))
+ checkWavesPerEU(M, TM);
----------------
arsenm wrote:
This isn't running as part of the attribute run? Why isn't this part of manifest?
Changed is also really course, you only can care about specific attributes changing
https://github.com/llvm/llvm-project/pull/123995
More information about the llvm-branch-commits
mailing list