[llvm] [SLP] More accurately cost RISCV scalar splats (PR #213104)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 27 05:28:23 PDT 2026
================
@@ -1074,10 +1076,34 @@ class TargetTransformInfo {
using VectorInstrContext = llvm::VectorInstrContext;
+ /// Combines 2 context hints into a single value. If both are equal, keep the
+ /// shared context, otherwise fall back to no specific context.
+ LLVM_ABI static TargetTransformInfo::VectorInstrContext
+ combineVectorInstrContexts(TargetTransformInfo::VectorInstrContext Ctx1,
+ TargetTransformInfo::VectorInstrContext Ctx2);
----------------
lukel97 wrote:
Is this used anywhere still? I can't find any references in this patch
https://github.com/llvm/llvm-project/pull/213104
More information about the llvm-commits
mailing list