[all-commits] [llvm/llvm-project] 8b6821: [hip] Fix device-only relocatable code compilation.

darkbuck via All-commits all-commits at lists.llvm.org
Wed Jun 10 11:11:04 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b6821a5843bb321b3738e2519beae7142e62928
      https://github.com/llvm/llvm-project/commit/8b6821a5843bb321b3738e2519beae7142e62928
  Author: Michael Liao <michael.hliao at gmail.com>
  Date:   2020-06-10 (Wed, 10 Jun 2020)

  Changed paths:
    M clang/lib/Driver/Driver.cpp
    A clang/test/Driver/hip-rdc-device-only.hip

  Log Message:
  -----------
  [hip] Fix device-only relocatable code compilation.

Summary:
- 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`.

Reviewers: yaxunl, tra

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D81427




More information about the All-commits mailing list