[llvm] [VectorCombine] Fold contiguous loads into a single vector load (PR #185736)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 29 13:52:49 PDT 2026


================
@@ -6131,6 +6055,200 @@ bool VectorCombine::shrinkPhiOfShuffles(Instruction &I) {
   return true;
 }
 
+static GEPNoWrapFlags getConstantGEPNoWrapFlagsToBase(Value *Ptr, Value *Base,
----------------
ParkHanbum wrote:

Do you think it would be better to remove this logic entirely and avoid trying to preserve the GEP nowrap flags in this transform?

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


More information about the llvm-commits mailing list