diff options
| author | Jessica Paquette <jpaquette@apple.com> | 2017-03-20 16:25:04 +0000 |
|---|---|---|
| committer | Jessica Paquette <jpaquette@apple.com> | 2017-03-20 16:25:04 +0000 |
| commit | 02cbfb29265735f9c0d69ce10ea1281579a6a824 (patch) | |
| tree | 18af27dcbfe182621931cc41fa332c3b4c672582 | |
| parent | 12883b1673731839303444ad04984cf81dab396c (diff) | |
| download | bcm5719-llvm-02cbfb29265735f9c0d69ce10ea1281579a6a824.tar.gz bcm5719-llvm-02cbfb29265735f9c0d69ce10ea1281579a6a824.zip | |
[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
| -rw-r--r-- | llvm/lib/Target/AArch64/AArch64InstrInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp index 19d54904d4e..24fc7d3c8b0 100644 --- a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp +++ b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp @@ -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; |

