[llvm] [TableGen][InstrInfoEmitter] Count sub-operands on def operands (PR #88837)

via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 16 07:39:58 PDT 2024


================
@@ -0,0 +1,33 @@
+// RUN: llvm-tblgen -gen-instr-info -I %p/../../include %s | FileCheck %s
+
----------------
darkbuck wrote:

Done, this test checks whether the `MCInstrDesc` entry for `InstA` has the expected `NumOperands` and `NumDefs`. It should have 3 defs out of 4 operands.

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


More information about the llvm-commits mailing list