[PATCH] [Thumb] Fix crash in Thumb1RegisterInfo::rewriteFrameIndex

Oliver Stannard oliver.stannard at arm.com
Fri Oct 17 03:13:34 PDT 2014


This function can, for some offsets from the SP, split one instruction
into two. Since it re-uses the original instruction as the first
instruction of the result, we need ensure its result register is not
marked as dead before we use it in the second instruction.

http://reviews.llvm.org/D5842

Files:
  lib/Target/ARM/Thumb1RegisterInfo.cpp
  test/CodeGen/Thumb/large-stack.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5842.15070.patch
Type: text/x-patch
Size: 1349 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141017/031930dc/attachment.bin>


More information about the llvm-commits mailing list