[llvm] [NVPTX] Generate atomicrmw/cmpxchg/fence tests at test time (PR #200966)

Justin Lebar via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 1 21:06:53 PDT 2026


jlebar wrote:

Right now it seems to me that there isn't enough consensus around this and I should just add to the existing tests in https://github.com/llvm/llvm-project/pull/200732.  But, again, I'm happy to do whatever.

> Can you post a few snippets of generated tests?

`$ python3 llvm/test/CodeGen/NVPTX/atomicrmw.py --sm=90 | gh gist create`
https://gist.github.com/jlebar/cfbbc51e0a541a640b82658fed906e7a

https://github.com/llvm/llvm-project/pull/200966


More information about the llvm-commits mailing list