Previously this would just assert which was annoying and didn't point
to the specific instruction/operand.
Details
Details
Diff Detail
Diff Detail
Unit Tests
Unit Tests
Paths
| Differential D120166
MIR: Start diagnosing too many operands on an instruction ClosedPublic Authored by arsenm on Feb 18 2022, 2:50 PM.
Details
Diff Detail
Unit TestsFailed Event TimelineThis revision is now accepted and ready to land.Feb 18 2022, 3:47 PM Comment Actions
The verifier already checks the number of operands
Revision Contents
Diff 410032 llvm/include/llvm/CodeGen/MachineOperand.h
llvm/lib/CodeGen/MIRParser/MIParser.cpp
llvm/lib/CodeGen/MachineInstr.cpp
llvm/test/CodeGen/MIR/AMDGPU/extra-imm-operand.mir
llvm/test/CodeGen/MIR/AMDGPU/extra-reg-operand.mir
|