[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:
Jessica Paquette 2017-03-20 16:25:04 +00:00
parent 12883b1673
commit 02cbfb2926
1 changed files with 1 additions and 1 deletions

View File

@ -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;