[llvm] [KernelInfo] Implement new LLVM IR pass for GPU code analysis (PR #102944)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 14 08:36:45 PDT 2024


================
@@ -824,6 +825,11 @@ void AMDGPUTargetMachine::registerPassBuilderCallbacks(PassBuilder &PB) {
           PM.addPass(AMDGPULowerModuleLDSPass(*this));
         if (EnableAMDGPUAttributor && Level != OptimizationLevel::O0)
           PM.addPass(AMDGPUAttributorPass(*this));
+        if (!NoKernelInfoEndLTO) {
----------------
arsenm wrote:

I don't see the point of the option 

https://github.com/llvm/llvm-project/pull/102944


More information about the llvm-commits mailing list