[llvm] [NVPTX] Add tex.grad.cube{array} intrinsics (PR #77693)

Alex MacLean via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 11 08:38:35 PST 2024


AlexMaclean wrote:

> > @Artem-B, the changes to `llvm/test/CodeGen/NVPTX/surf-tex.py` add coverage for these intrinsics, is there additional testing you'd like?
> 
> Ah. It was not obvious. Can you please verify that the test does contain the new instructions and that LLVM tests pass with `LLVM_PTXAS_EXECUTABLE=/path/to/ptxas` set in the environment.

Done. In order to make `ptxas` happy I had to update the ptx version of the test which required some tweaking of the FileCheck patterns. I've confirmed it works with `ptxas` and that new tests are generated. 

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


More information about the llvm-commits mailing list