[llvm] [Transform][LoadStoreVectorizer] allow redundant in Chain (PR #163019)

Nicolai Hähnle via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 16 16:52:06 PDT 2025


================
@@ -157,8 +157,11 @@ using EqClassKey =
 struct ChainElem {
   Instruction *Inst;
   APInt OffsetFromLeader;
-  ChainElem(Instruction *Inst, APInt OffsetFromLeader)
-      : Inst(std::move(Inst)), OffsetFromLeader(std::move(OffsetFromLeader)) {}
+  unsigned IncrementalBytes = 0;
----------------
nhaehnle wrote:

It doesn't seem obvious to me what `IncrementalBytes` means.

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


More information about the llvm-commits mailing list