[PATCH] D73942: [hip] Properly populate macros based on host processor.

Michael Liao via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 4 12:03:17 PST 2020


hliao updated this revision to Diff 242395.
hliao added a comment.

Follow the reviewer's comment and an internal option
`--hip-use-aux-triple-only` to fall back the original behavior.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D73942

Files:
  clang/include/clang/Driver/CC1Options.td
  clang/include/clang/Driver/Options.td
  clang/include/clang/Frontend/FrontendOptions.h
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/Frontend/CompilerInstance.cpp
  clang/lib/Frontend/CompilerInvocation.cpp
  clang/test/Driver/hip-host-cpu-features.hip
  clang/test/Preprocessor/hip-host-cpu-macros.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73942.242395.patch
Type: text/x-patch
Size: 7393 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200204/b0a03c31/attachment.bin>


More information about the cfe-commits mailing list