[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
Thu Apr 17 00:22:30 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:
This function is not called anywhere in our logic. I will remove it.
https://github.com/llvm/llvm-project/pull/134979
More information about the llvm-commits
mailing list