[llvm] [SLP] Check for extracts, being replaced by original scalars, for user nodes (PR #149572)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 8 12:14:31 PDT 2025
================
@@ -12102,6 +12213,27 @@ void BoUpSLP::transformNodes() {
ArrayRef<Value *> VL = E.Scalars;
const unsigned Sz = getVectorElementSize(VL.front());
unsigned MinVF = getMinVF(2 * Sz);
+ const EdgeInfo &EI = E.UserTreeIndex;
+ // Try to vectorized postponed scalars, if external uses are vectorized.
----------------
topperc wrote:
```suggestion
// Try to vectorize postponed scalars, if external uses are vectorized.
```
https://github.com/llvm/llvm-project/pull/149572
More information about the llvm-commits
mailing list