================
@@ -419,8 +393,7 @@ function(add_libclc_builtin_set)
endif()
else()
# Non-SPIR-V targets add an extra step to optimize the bytecode
- set( obj_suffix ${ARG_ARCH_SUFFIX}.bc )
- set( libclc_builtins_lib ${LIBCLC_OUTPUT_LIBRARY_DIR}/${obj_suffix} )
+ set( libclc_builtins_lib
${LIBCLC_OUTPUT_LIBRARY_DIR}/${ARG_TRIPLE}/${LIBCLC_OUTPUT_FILENAME}.bc )
----------------
wenju-he wrote:
need to pass CPU to function add_libclc_builtin_set and change below path:
```suggestion
set( libclc_builtins_lib
${LIBCLC_OUTPUT_LIBRARY_DIR}/${ARG_TRIPLE}/${ARG_CPU}/${LIBCLC_OUTPUT_FILENAME}.bc
)
```
https://github.com/llvm/llvm-project/pull/177465
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits