[llvm] [NVPTX] Fixing debug symbols for ptx target emitting (PR #101891)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 14 12:09:18 PDT 2024
jhuber6 wrote:
> Hey, sorry I thought you said lint test. BTW, when you say add a lit test, do I need to create another test in the test directory for this change? Or just run the lit test and show if all the tests pass. Sorry I have never contributed to llvm and I do not know what the usual workflow is.
You want to create some minimal LLVM-IR that reproduces the issue, checking the output of the failing test case is a good start https://godbolt.org/z/aYh8WGrj3. Look at `llvm/test/CodeGen/NVPTX` for similar tests. These will run `llc` on the IR to turn it into PTX. The test should verify that the debug symbol's name matches the global string.
https://github.com/llvm/llvm-project/pull/101891
More information about the llvm-commits
mailing list