[all-commits] [llvm/llvm-project] 3af981: [IRLinker] Suppress linker warnings when linking w...

Artem Belevich via All-commits all-commits at lists.llvm.org
Wed Sep 1 10:45:31 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3af981b0659ffb2445dee60f1ec14ba417b7d9b1
      https://github.com/llvm/llvm-project/commit/3af981b0659ffb2445dee60f1ec14ba417b7d9b1
  Author: Artem Belevich <tra at google.com>
  Date:   2021-09-01 (Wed, 01 Sep 2021)

  Changed paths:
    M llvm/lib/Linker/IRMover.cpp
    A llvm/test/Linker/Inputs/libdevice-cuda-10.ll
    A llvm/test/Linker/Inputs/libdevice-cuda-11.ll
    A llvm/test/Linker/Inputs/libdevice-cuda-9.ll
    A llvm/test/Linker/Inputs/not-a-libdevice.ll
    A llvm/test/Linker/cuda-libdevice.ll

  Log Message:
  -----------
  [IRLinker] Suppress linker warnings when linking with CUDA libdevice.

libdevice bitcode provided by NVIDIA is linked with clang/LLVM-generated IR
which uses nvptx*-nvidia-cuda triple. We need to mark them as compatible.

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




More information about the All-commits mailing list