llvm-project
d48c6536 - [NFC][MIR2Vec] Check that CommonOperands covers every operand type (#246057)

Commit
1 day ago
[NFC][MIR2Vec] Check that CommonOperands covers every operand type (#246057) Add an ExcludedOperandTypes list (MO_Register, MO_DbgInstrRef) and a static_assert that CommonOperands and ExcludedOperandTypes together have one entry per MachineOperandType. A newly added operand type now breaks the build instead of silently getting a zero embedding.
Author
Parents
Loading