diff options
author | Manman Ren <mren@apple.com> | 2012-07-11 22:51:44 +0000 |
---|---|---|
committer | Manman Ren <mren@apple.com> | 2012-07-11 22:51:44 +0000 |
commit | 45ed19499b8f7025d9acf91cc37fbf6ea63abc4f (patch) | |
tree | a62c7eab67e6865b2e5c3f3b2e898f419a352fab /lib/Support/Memory.cpp | |
parent | 1d82115042c81793cc3d807a8136f7f0f475f083 (diff) |
ARM: Fix optimizeCompare to correctly check safe condition.
It is safe if CPSR is killed or re-defined.
When we are done with the basic block, check whether CPSR is live-out.
Do not optimize away cmp if CPSR is live-out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160090 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Memory.cpp')
0 files changed, 0 insertions, 0 deletions