[llvm] [VectorCombine] Fold contiguous loads into a single vector load (PR #185736)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 29 03:43:47 PDT 2026
================
@@ -6131,6 +6055,200 @@ bool VectorCombine::shrinkPhiOfShuffles(Instruction &I) {
return true;
}
+static GEPNoWrapFlags getConstantGEPNoWrapFlagsToBase(Value *Ptr, Value *Base,
+ const DataLayout &DL) {
+ std::optional<GEPNoWrapFlags> Flags;
----------------
arsenm wrote:
Avoid std::optional, just use the direct GEPNoWrapFlags
https://github.com/llvm/llvm-project/pull/185736
More information about the llvm-commits
mailing list