summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AVR/AVRFrameLowering.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/AVR/AVRFrameLowering.cpp')
-rw-r--r--llvm/lib/Target/AVR/AVRFrameLowering.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/AVR/AVRFrameLowering.cpp b/llvm/lib/Target/AVR/AVRFrameLowering.cpp
index ab95be8f3ab..b8cb2215ddb 100644
--- a/llvm/lib/Target/AVR/AVRFrameLowering.cpp
+++ b/llvm/lib/Target/AVR/AVRFrameLowering.cpp
@@ -338,7 +338,6 @@ static void fixStackStores(MachineBasicBlock &MBB,
// pointer since it is guaranteed to contain a copy of SP.
unsigned STOpc =
(Opcode == AVR::STDWSPQRr) ? AVR::STDWPtrQRr : AVR::STDPtrQRr;
- assert(isUInt<6>(MI.getOperand(1).getImm()) && "Offset is out of range");
MI.setDesc(TII.get(STOpc));
MI.getOperand(0).setReg(AVR::R29R28);
OpenPOWER on IntegriCloud