[PATCH] D121299: [NVPTX] Disable DWARF .file directory for PTX

Artem Belevich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 24 11:01:40 PDT 2022


tra added a comment.

In D121299#3405993 <https://reviews.llvm.org/D121299#3405993>, @MaskRay wrote:

> I just worry whether this patch may be busywork. It seems like a "UI" thing of llc anyway, not really affecting Clang.
> Have you tried contacting CUDA folks about supporting the syntax in ptxas?
> If ptxas will soon get the support, in the future someone may propose to revert this patch (the `enum DwarfDirectory` mechanism won't be needed).

I can ask NVIDIA, but it's not going to help us much.
Even if we can convince NVIDIA to support this syntax, it will only apply to `ptxas` in some future CUDA version.
We'll still need to deal with `ptxas` that has been shipped with all existing CUDA versions we support.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D121299



More information about the llvm-commits mailing list