[llvm] [SelectionDAGISel][WIP] Separate the operand numbers in OPC_EmitNode/MorphNodeTo into their own table. (PR #178722)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 30 00:51:42 PST 2026


================
@@ -1544,9 +1590,14 @@ void llvm::EmitMatcherTable(Matcher *TheMatcher, const CodeGenDAGPatterns &CGP,
 
   MatcherEmitter.EmitHistogram(OS);
 
+  OS << "  static const uint8_t OperandLists[] = {\n";
----------------
wangpc-pp wrote:

We don't have a test for `OperandLists`? Can we add one?

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


More information about the llvm-commits mailing list