Constructing an operand with kills on defs and deads on uses asserts
in the constructor, so diagnose these.
Details
Details
Diff Detail
Diff Detail
| Paths 
 |  Differential  D122583  
MIRParser: Fix asserting with invalid flags on machine operands ClosedPublic Authored by arsenm on Mar 28 2022, 6:56 AM. 
Details Summary Constructing an operand with kills on defs and deads on uses asserts 
Diff Detail Event TimelineThis revision is now accepted and ready to land.Mar 28 2022, 12:02 PM 
Revision Contents 
 
Diff 418576 llvm/lib/CodeGen/MIRParser/MIParser.cpp
 llvm/test/CodeGen/MIR/AMDGPU/dead-flag-on-use-operand-parse-error.mir
 
 llvm/test/CodeGen/MIR/AMDGPU/killed-flag-on-def-parse-error.mir
 
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||