[PATCH] D108835: [NVPTX] consider nvptx-nvidia-gpulibs triple to be compatible with other variants.

Artem Belevich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 30 18:12:51 PDT 2021


tra added inline comments.


================
Comment at: llvm/lib/Support/Triple.cpp:1643
 
+  if (isNVPTX()) {
+    // libdevice bitcode uses nvptx64-nvidia-gpulibs or just
----------------
I think this could be incorporated into the `SuppressDLWarning` calculation above. This way we'll keep this libdevice quirk handling to one place. I'll update the patch tomorrow.



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D108835/new/

https://reviews.llvm.org/D108835



More information about the llvm-commits mailing list