================
@@ -382,6 +382,9 @@ foreach( t ${LIBCLC_TARGETS_TO_BUILD} )
       if( ARCH STREQUAL clspv64 )
         set( MACRO_ARCH CLSPV64 )
       endif()
+    elseif( ARCH STREQUAL amdgcn )
+      set( build_flags "SHELL:-Xclang -mcode-object-version=none" )
+      set( opt_flags -O3 )
----------------
arsenm wrote:

The opt level probably shouldn't be coming from each target 

https://github.com/llvm/llvm-project/pull/174412
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to