[llvm] [VPlan] Encode single-scalar-ness of VPInstruction in a field (NFC). (PR #227761)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 6 04:17:50 PDT 2026
================
@@ -605,15 +605,36 @@ Type *VPReplicateRecipe::computeScalarType(const Instruction *I,
return computeScalarTypeForInstruction(Opcode, Operands);
}
+/// Returns true if VPInstructions with \p Opcode always produce a single
+/// scalar.
+static bool isAlwaysSingleScalar(unsigned Opcode) {
----------------
fhahn wrote:
updated thanks
https://github.com/llvm/llvm-project/pull/227761
More information about the llvm-commits
mailing list