[PATCH] D81427: [hip] Fix device-only relocatable code compilation.

Michael Liao via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 8 13:52:06 PDT 2020


hliao created this revision.
hliao added reviewers: yaxunl, tra.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

- In HIP, just as the regular device-only compilation, the device-only relocatable code compilation should not involve offload bundle.
- In addition, that device-only relocatable code compilation should have the similar 3 steps, namely preprocessor, compile, and backend, to the regular code generation with `-emit-llvm`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81427

Files:
  clang/lib/Driver/Driver.cpp
  clang/test/Driver/hip-device-only.hip

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81427.269339.patch
Type: text/x-patch
Size: 11094 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200608/81a4a164/attachment.bin>


More information about the cfe-commits mailing list