[all-commits] [llvm/llvm-project] 3acb0e: [HIP] Replace use of `llvm-mc` with `clang` (#112041)

Joseph Huber via All-commits all-commits at lists.llvm.org
Sat Oct 12 05:03:51 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3acb0e9e600cbe3668b7db3956238a592ebadc0a
      https://github.com/llvm/llvm-project/commit/3acb0e9e600cbe3668b7db3956238a592ebadc0a
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-10-12 (Sat, 12 Oct 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/HIPUtility.cpp
    M clang/test/Driver/hip-link-save-temps.hip
    M clang/test/Driver/hip-partial-link.hip
    M clang/test/Driver/hip-save-temps.hip
    M clang/test/Driver/hip-toolchain-rdc-separate.hip
    M clang/test/Driver/hip-toolchain-rdc-static-lib.hip
    M clang/test/Driver/hip-toolchain-rdc.hip
    M clang/test/Driver/hip-unbundle-preproc.hipi
    M clang/test/Driver/hipspv-toolchain-rdc.hip

  Log Message:
  -----------
  [HIP] Replace use of `llvm-mc` with `clang` (#112041)

Summary:
We currently use `llvm-mc` which is intended for internal testing and
not expected to be present in every installation. This patch changes
that to just use clang instead to get the `.o` from the HIP registration
code.

My preferred solution would be to use the new driver, but I still
haven't gotten the test suite to pass on this one weird OpenMP case.

Fixes: https://github.com/llvm/llvm-project/issues/112031



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list