diff options
Diffstat (limited to 'llvm/lib/Target/Mips/Mips16InstrInfo.cpp')
| -rw-r--r-- | llvm/lib/Target/Mips/Mips16InstrInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/Mips16InstrInfo.cpp b/llvm/lib/Target/Mips/Mips16InstrInfo.cpp index 20185e83286d..a834188e3bcc 100644 --- a/llvm/lib/Target/Mips/Mips16InstrInfo.cpp +++ b/llvm/lib/Target/Mips/Mips16InstrInfo.cpp @@ -341,7 +341,7 @@ unsigned Mips16InstrInfo::loadImmediate(unsigned FrameReg, int64_t Imm, int SpReg = 0; rs.enterBasicBlockEnd(MBB); - rs.backward(II); + rs.backward(std::next(II)); // // We need to know which registers can be used, in the case where there // are not enough free registers. We exclude all registers that |
