diff options
author | Reed Kotler <rkotler@mips.com> | 2012-12-21 00:44:59 +0000 |
---|---|---|
committer | Reed Kotler <rkotler@mips.com> | 2012-12-21 00:44:59 +0000 |
commit | a40ba2b3b2c909c366e5479d4e51ed35a0ada934 (patch) | |
tree | 7c9b011112ce1d9a72c40577d013c99119ebe3a8 /lib/Target/Mips/Mips16RegisterInfo.cpp | |
parent | c92312115136acd22b9b390f8236e6eae7252a8c (diff) | |
download | external_llvm-a40ba2b3b2c909c366e5479d4e51ed35a0ada934.zip external_llvm-a40ba2b3b2c909c366e5479d4e51ed35a0ada934.tar.gz external_llvm-a40ba2b3b2c909c366e5479d4e51ed35a0ada934.tar.bz2 |
Call llvm_unreachable instead of assert.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170822 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/Mips16RegisterInfo.cpp')
-rw-r--r-- | lib/Target/Mips/Mips16RegisterInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Mips/Mips16RegisterInfo.cpp b/lib/Target/Mips/Mips16RegisterInfo.cpp index 3af62a1..0d2bed4 100644 --- a/lib/Target/Mips/Mips16RegisterInfo.cpp +++ b/lib/Target/Mips/Mips16RegisterInfo.cpp @@ -148,7 +148,7 @@ void Mips16RegisterInfo::eliminateFI(MachineBasicBlock::iterator II, if (!MI.isDebugValue() && ( ((FrameReg != Mips::SP) && !isInt<16>(Offset)) || ((FrameReg == Mips::SP) && !isInt<15>(Offset)) )) { - assert(false && "frame offset does not fit in instruction"); + llvm_unreachable("frame offset does not fit in instruction"); } MI.getOperand(OpNo).ChangeToRegister(FrameReg, false); MI.getOperand(OpNo + 1).ChangeToImmediate(Offset); |