commit | 508c39393a29d4524d113293bcab0a1c74a2328a | [log] [tgz] |
---|---|---|
author | Oliver Stannard <oliver.stannard@arm.com> | Mon Oct 20 11:00:18 2014 +0000 |
committer | Oliver Stannard <oliver.stannard@arm.com> | Mon Oct 20 11:00:18 2014 +0000 |
tree | 66bdd01922edcebf1d828c72cdb33a338039405d | |
parent | 34b45cdb95338b245abd20a3b0eeca923ef651eb [diff] |
[Thumb] Fix crash in Thumb1RegisterInfo::rewriteFrameIndex 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220194 91177308-0d34-0410-b5e6-96231b3b80d8