[llvm] [VPlan] Type VP(Recipe|Block)Ty SubclassID (NFC) (PR #209132)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 13 04:27:13 PDT 2026


================
@@ -602,15 +604,15 @@ LLVM_ABI Type *computeScalarTypeForInstruction(unsigned Opcode,
 class LLVM_ABI_FOR_TEST VPSingleDefRecipe : public VPRecipeBase,
                                             public VPSingleDefValue {
 public:
-  VPSingleDefRecipe(const unsigned char SC, ArrayRef<VPValue *> Operands,
+  VPSingleDefRecipe(const VPRecipeTy SC, ArrayRef<VPValue *> Operands,
----------------
fhahn wrote:

while touching those lines, can you also drop the`const`? it is irrelevant

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


More information about the llvm-commits mailing list