[llvm] [NVPTX] Attempt to load params using symbol addition node directly (PR #119935)

Justin Fargnoli via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 13 15:40:49 PST 2024


justinfargnoli wrote:

Instead of porting the DAG combine to instruction selection, why don't we move the symbol to a register before using it in the add? 

i.e.
```
add symbol 5
-->
mov r1 symbol
add r1 5
...
```

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


More information about the llvm-commits mailing list