[llvm] [SLP]Pass operand info and context to TTI cost queries (PR #224931)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 20 09:21:32 PDT 2026


================
@@ -10322,9 +10325,21 @@ bool BoUpSLP::canBuildSplitNode(ArrayRef<Value *> VL,
       (LocalState.getMainOp()->isCast() && LocalState.getAltOp()->isCast()) ||
       (LocalState.getMainOp()->isUnaryOp() &&
        LocalState.getAltOp()->isUnaryOp())) {
+    SmallVector<Value *> Ops0, Ops1;
+    for (Value *V : VL) {
----------------
RKSimon wrote:

make_isa_range - continuation of #223975?

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


More information about the llvm-commits mailing list