[PATCH] D127267: [NVPTX] Add setAuxTarget override rather than make a new TargetInfo

Ryan Prichard via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 7 20:22:48 PDT 2022


rprichard added a comment.

This change is needed for D28213 <https://reviews.llvm.org/D28213>, so that the `__GCC_ATOMIC_LLONG_LOCK_FREE` macro matches for `-target i386-unknown-linux-gnu` between `--cuda-host-only` and `--cuda-device-only`. This is tested in clang/test/Preprocessor/cuda-types.cu.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127267



More information about the cfe-commits mailing list