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 | 34cb93e1925e757e938f471e46522af89bd644fe (patch) | |
tree | 6dd5507f8539f512a3d87af7f81d7face068f389 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 1325384b32b51920e1b1acd854474d52e82d5825 (diff) | |
download | bcm5719-llvm-34cb93e1925e757e938f471e46522af89bd644fe.tar.gz bcm5719-llvm-34cb93e1925e757e938f471e46522af89bd644fe.zip |
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.
llvm-svn: 160090
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions