[PATCH] D127142: [HIP] Link with clang_rt.builtins

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 22 08:13:55 PDT 2022


yaxunl added a comment.

In D127142#3600809 <https://reviews.llvm.org/D127142#3600809>, @MaskRay wrote:

> Magically deciding a default value for --unwindlib or --rtlib is not nice. You may emit a warning if the selected default happens to be incompatible with HIP.

We build clang not just for compiling HIP programs. For C/C++ programs, we want to use the default runtime and unwind library.

We only want to change the default runtime and unwind library for HIP.


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

https://reviews.llvm.org/D127142



More information about the cfe-commits mailing list