[llvm] [TTI][RISCV][SLP] Add IdentityConstantValue option to OperandValueKind for use by SLP and RISCV (PR #228630)
Ryan Buchner via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 4 11:35:34 PDT 2026
================
@@ -1324,6 +1324,7 @@ class TargetTransformInfo {
OK_AnyValue, // Operand can have any value.
OK_UniformValue, // Operand is uniform (splat of a value).
OK_UniformConstantValue, // Operand is uniform constant.
+ OK_IdentityConstantValue, // Operand is the identity vector (0, 1, ...)
----------------
bababuck wrote:
Isn't `isUniform` for splats?
https://github.com/llvm/llvm-project/pull/228630
More information about the llvm-commits
mailing list