forked from OSchip/llvm-project
[Outliner] ACTUALLY remove the errs output
I don't know how to type. This fixes the last commit which would have made all of the overflows legal, and kept the screaming. llvm-svn: 298263
This commit is contained in:
parent
12883b1673
commit
02cbfb2926
|
@ -4349,7 +4349,7 @@ AArch64InstrInfo::getOutliningType(MachineInstr &MI) const {
|
|||
// This is tricky to test with IR tests, but when the outliner is moved
|
||||
// to a MIR test, it really ought to be checked.
|
||||
if (Offset + 16 < MinOffset || Offset + 16 > MaxOffset)
|
||||
errs() << "Overflow!\n";
|
||||
return MachineOutlinerInstrType::Illegal;
|
||||
|
||||
// It's in range, so we can outline it.
|
||||
return MachineOutlinerInstrType::Legal;
|
||||
|
|
Loading…
Reference in New Issue