[clang] [HIP] Pass `-O0` by default for HIP no-RDC compilations (PR #211790)
Larry Meadows via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 24 08:48:33 PDT 2026
================
@@ -9896,6 +9892,12 @@ void LinkerWrapper::ConstructJob(Compilation &C, const JobAction &JA,
}
}
+ // If no optimization level was requested we default to `-O0` for no-RDC
----------------
lfmeadow wrote:
My only question is whether there are any non-hip (JA.getType()) cases that might have similar issues; e.g., SYCL, OpenMP.
https://github.com/llvm/llvm-project/pull/211790
More information about the cfe-commits
mailing list