[llvm] [X86][SelectionDAG] Fix the Gather's base and index by modifying the Scale value (PR #134979)

Rohit Aggarwal via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 20 21:59:35 PDT 2025


================
@@ -56508,6 +56508,120 @@ static SDValue rebuildGatherScatter(MaskedGatherScatterSDNode *GorS,
                               Scatter->isTruncatingStore());
 }
 
+// Target override this function to decide whether it want to update the base
+// and index value of a non-uniform gep
+static bool updateBaseAndIndex(SDValue &Base, SDValue &Index, SDValue &Scale,
----------------
rohitaggarwal007 wrote:

Removed the function.

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


More information about the llvm-commits mailing list