[llvm] [SLP] More accurately cost RISCV scalar splats (PR #213104)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 12 05:41:59 PDT 2026
================
@@ -681,4 +676,10 @@ Intrinsic::ID getMaskedDivRemIntrinsic(unsigned Opcode) {
}
}
+TargetTransformInfo::VectorInstrContext
+combineVectorInstrContexts(TargetTransformInfo::VectorInstrContext Ctx1,
+ TargetTransformInfo::VectorInstrContext Ctx2) {
+ return Ctx1 == Ctx2 ? Ctx1 : TargetTransformInfo::VectorInstrContext::None;
+}
+
----------------
alexey-bataev wrote:
I think it also should be a part of TTI
https://github.com/llvm/llvm-project/pull/213104
More information about the llvm-commits
mailing list