llvm-project/llvm/test/Linker/Inputs/not-a-libdevice.ll
Artem Belevich 3af981b065 [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
2021-09-01 10:45:15 -07:00

3 lines
102 B
LLVM

target triple = "nvptx64-nvidia-nosuchthing"
target datalayout = "e-i64:64-i128:128-v32:32-n16:32:64"