mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:43:36 +01:00
MachineVerifier: Continue reporting errors for copies
This was skipping verification of later copies, but generally the verifier tries to report as many things wrong as possible in the function.
This commit is contained in:
parent
746009e1c5
commit
73b19968f2
@ -1676,8 +1676,6 @@ void MachineVerifier::visitMachineInstrBefore(const MachineInstr *MI) {
|
|||||||
// Verify properties of various specific instruction types
|
// Verify properties of various specific instruction types
|
||||||
switch (MI->getOpcode()) {
|
switch (MI->getOpcode()) {
|
||||||
case TargetOpcode::COPY: {
|
case TargetOpcode::COPY: {
|
||||||
if (foundErrors)
|
|
||||||
break;
|
|
||||||
const MachineOperand &DstOp = MI->getOperand(0);
|
const MachineOperand &DstOp = MI->getOperand(0);
|
||||||
const MachineOperand &SrcOp = MI->getOperand(1);
|
const MachineOperand &SrcOp = MI->getOperand(1);
|
||||||
LLT DstTy = MRI->getType(DstOp.getReg());
|
LLT DstTy = MRI->getType(DstOp.getReg());
|
||||||
|
Loading…
Reference in New Issue
Block a user