[llvm] [X86][SelectionDAG] Fix the Gather's base and index by modifying the Scale value (PR #134979)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 16 10:01:27 PDT 2025
================
@@ -12163,9 +12163,6 @@ bool refineUniformBase(SDValue &BasePtr, SDValue &Index, bool IndexIsScaled,
if (IndexIsScaled)
return false;
- if (!isNullConstant(BasePtr) && !Index.hasOneUse())
- return false;
----------------
RKSimon wrote:
Not sure this is required anymore
https://github.com/llvm/llvm-project/pull/134979
More information about the llvm-commits
mailing list