[PATCH] D77885: AMDGPU: Search for new ROCm bitcode library structure

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 15 11:30:30 PDT 2020


yaxunl added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/AMDGPU.cpp:75
+    // The desired structure is (${ROCM_ROOT} or
+    // ${OPENCL_ROOT})/amdgcn/bitcode/*, so try to detect this layout.
 
----------------
with your change, the structure becomes

${ROCM_ROOT}/amdgcn/bitcode/*.bc

Does the toolchain support ${OPENCL_ROOT} ?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77885/new/

https://reviews.llvm.org/D77885





More information about the cfe-commits mailing list