[llvm] [GlobalISel] Encode root operand indices in match opcodes (PR #210562)

Pierre van Houtryve via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 29 01:14:24 PDT 2026


================
@@ -597,6 +627,8 @@ enum {
   /// Keeping track of the number of the GI opcodes. Must be the last entry.
   GIU_NumOpcodes,
 };
+static_assert(GIU_NumOpcodes <= 256,
----------------
Pierre-vh wrote:

How many opcodes do we have now ? I am worried this is accelerating us towards running out of them.

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


More information about the llvm-commits mailing list