[llvm] [NVPTX] Aggressively try to replace image handles with references (PR #119730)

Alex MacLean via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 12 14:36:36 PST 2024


AlexMaclean wrote:

> > avoid the handle creating code associated with taking the address of a tex/surf/sampler.
> 
> Is there a test change that illustrates this?

The existing tests already demonstrate this. Previously there was an additional `mov` instruction which took the address of the tex/surf and was used to create the handle. This has been removed.

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


More information about the llvm-commits mailing list