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

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 8 12:27:57 PST 2025


================
@@ -3880,22 +3880,32 @@ bool NVPTXDAGToDAGISel::SelectDirectAddr(SDValue N, SDValue &Address) {
   return false;
 }
 
-// symbol+offset
-bool NVPTXDAGToDAGISel::SelectADDRsi_imp(
-    SDNode *OpNode, SDValue Addr, SDValue &Base, SDValue &Offset, MVT mvt) {
+bool NVPTXDAGToDAGISel::FindRootAddressAndTotalOffset(
----------------
Artem-B wrote:

Considering that there is only one user, this function could be static or a lambda inside `SelectADDRsi_imp`

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


More information about the llvm-commits mailing list