mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-08 20:30:50 +00:00
[GlobalISel][Legalizer] LegalizerInfo verifier: Making LegalizerInfo::verify(...) errors fatal
Reviewers: aemerson, qcolombet Reviewed By: qcolombet Differential Revision: https://reviews.llvm.org/D46339 llvm-svn: 333619
This commit is contained in:
parent
041719be2f
commit
7e5b6b8d2b
@ -564,6 +564,9 @@ void LegalizerInfo::verify(const MCInstrInfo &MII) const {
|
||||
for (unsigned Opcode : FailedOpcodes)
|
||||
errs() << " " << MII.getName(Opcode);
|
||||
errs() << "\n";
|
||||
|
||||
report_fatal_error("ill-defined LegalizerInfo"
|
||||
", try -debug-only=legalizer-info for details");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user