[clang] [llvm] [LinkerWrapper] Always pass `-flto` if the linker supports it (PR #102972)

Johannes Doerfert via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 13 09:06:22 PDT 2024


================
@@ -1,4 +1,4 @@
-// RUN: %libomptarget-compile-amdgcn-amd-amdhsa -O1 -mllvm -openmp-opt-inline-device
+// RUN: %libomptarget-compile-amdgcn-amd-amdhsa -O2 -mllvm -openmp-opt-inline-device
----------------
jdoerfert wrote:

Why O2 now?

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


More information about the cfe-commits mailing list