commit | 82ee1641579541f116fb2e43ae6a981300e64524 | [log] [tgz] |
---|---|---|
author | Matthias Braun <matze@braunis.de> | Thu Sep 28 23:12:06 2017 +0000 |
committer | Matthias Braun <matze@braunis.de> | Thu Sep 28 23:12:06 2017 +0000 |
tree | e63d6a51121c943a90cecb8659ad4b5daeca26b0 | |
parent | df99c09b49cf3d40c71d2d9f7fbd231b603a4fb5 [diff] |
ARM: Fix cases where CSI Restored bit is not cleared LR is an untypical callee saved register in that it is restored into a different register (PC) and thus does not live-out of the return block. This case requires the `Restored` flag in CalleeSavedInfo to be cleared. This fixes a number of cases where this wasn't handled correctly yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314471 91177308-0d34-0410-b5e6-96231b3b80d8