[PATCH] D120166: MIR: Start diagnosing too many operands on an instruction
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 18 14:50:40 PST 2022
arsenm created this revision.
arsenm added reviewers: thegameg, paquette, aemerson, MatzeB, qcolombet, arphaman, plotfi, dsanders.
Herald added subscribers: kerbowa, hiraditya, jvesely.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.
Previously this would just assert which was annoying and didn't point
to the specific instruction/operand.
https://reviews.llvm.org/D120166
Files:
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120166.410032.patch
Type: text/x-patch
Size: 3797 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220218/2537a771/attachment.bin>
More information about the llvm-commits
mailing list