[all-commits] [llvm/llvm-project] c64bb3: [HIP] Use default triple in llvm-mc for system ld
Aaron Enye Shi via All-commits
all-commits at lists.llvm.org
Tue Jul 7 09:45:44 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c64bb3f7367a924e9d17dfccccc1c92897e6cbe1
https://github.com/llvm/llvm-project/commit/c64bb3f7367a924e9d17dfccccc1c92897e6cbe1
Author: Aaron En Ye Shi <enye.shi at gmail.com>
Date: 2020-07-07 (Tue, 07 Jul 2020)
Changed paths:
M clang/lib/Driver/ToolChains/HIP.cpp
M clang/test/Driver/hip-link-save-temps.hip
M clang/test/Driver/hip-toolchain-rdc-separate.hip
M clang/test/Driver/hip-toolchain-rdc-static-lib.hip
M clang/test/Driver/hip-toolchain-rdc.hip
Log Message:
-----------
[HIP] Use default triple in llvm-mc for system ld
The Ubuntu system ld does not recognize the amdgcn-amd-amdhsa target.
Instead the host object with embedded device fat binary should not be
assembled by that triple. It should use default triple, so that the
object is compatible with system ld.
Reviewed By: yaxunl
Differential Revision: https://reviews.llvm.org/D83145
More information about the All-commits
mailing list