[clang] [llvm] [PGO][Offload] Disable PGO on NVPTX (PR #133522)
    Artem Belevich via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Mar 28 14:32:29 PDT 2025
    
    
  
================
@@ -6397,7 +6397,9 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
   Args.AddLastArg(CmdArgs, options::OPT_fconvergent_functions,
                   options::OPT_fno_convergent_functions);
 
-  addPGOAndCoverageFlags(TC, C, JA, Output, Args, SanitizeArgs, CmdArgs);
+  // NVPTX doesn't support PGO or coverage
----------------
Artem-B wrote:
I'd add the pointer to the failure details mentioning circular data references and, maybe, point for the PR comment with the details.
https://github.com/llvm/llvm-project/pull/133522
    
    
More information about the llvm-commits
mailing list