[llvm-branch-commits] [llvm] [SLP][modularisation][NFC] Move getReductionInstr to SLPReductionUtils, getAggregateSize to SLPUtils (PR #222613)

Alexey Bataev via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Oct 17 15:23:41 PDT 2026


================
@@ -1597,4 +1598,32 @@ DebugLoc getDebugLocFromPHI(PHINode &PN) {
   return DebugLoc::getUnknown();
 }
 
+std::optional<unsigned> getAggregateSize(Instruction *InsertInst) {
----------------
alexey-bataev wrote:

const Instruction *InsertInst

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


More information about the llvm-branch-commits mailing list