commit | 196c8e5fbb71098e2910e038b78f2938e3e832ff | [log] [tgz] |
---|---|---|
author | Tim Northover <tnorthover@apple.com> | Tue Jan 14 22:53:28 2014 +0000 |
committer | Tim Northover <tnorthover@apple.com> | Tue Jan 14 22:53:28 2014 +0000 |
tree | dc7512dd6c75bfe306286d65d69e7241db48777b | |
parent | 4e1247b836546287d2db40575a8daaca31351e86 [diff] |
ARM: correctly determine final tBX_LR in Thumb1 functions The changes caused by folding an sp-adjustment into a "pop" previously disrupted the forward search for the final real instruction in a terminating block. This switches to a backward search (skipping debug instrs). This fixes PR18399. Patch by Zhaoshi. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199266 91177308-0d34-0410-b5e6-96231b3b80d8