[PATCH] D68652: [driver][hip] Skip bundler if host action is nothing.

Michael Liao via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 8 10:57:34 PDT 2019


hliao marked an inline comment as done.
hliao added inline comments.


================
Comment at: clang/test/Driver/hip-syntax-only.hip:7
+
+// CHECK-DAG: clang{{.*}}" "-cc1" {{.*}} "-fcuda-is-device"
+// CHECK-DAG: clang{{.*}}" "-cc1" "-triple" "x86_64"
----------------
tra wrote:
> I'd include `-target <GPU>` and a comment describing that we're making sure that both host and device compilations are still executed.
won't -fcuda-is-device be sufficient? that's option specific to device-side compilation.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68652





More information about the cfe-commits mailing list