diff options
Diffstat (limited to 'llvm/lib')
-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; |