diff options
author | Manman Ren <mren@apple.com> | 2012-07-07 03:34:46 +0000 |
---|---|---|
committer | Manman Ren <mren@apple.com> | 2012-07-07 03:34:46 +0000 |
commit | 2d4215f75949448d5207ec67b11878741a708fbe (patch) | |
tree | a41f6d1f7fa6643e1aee92b9aace18b4fc24d03d /test/Bindings | |
parent | 845b4c2f0b2b3f0ec468ac863550b25708279180 (diff) | |
download | external_llvm-2d4215f75949448d5207ec67b11878741a708fbe.zip external_llvm-2d4215f75949448d5207ec67b11878741a708fbe.tar.gz external_llvm-2d4215f75949448d5207ec67b11878741a708fbe.tar.bz2 |
X86: Fix optimizeCompare to correctly check safe condition.
It is safe if EFLAGS is killed or re-defined.
When we are done with the basic block, check whether EFLAGS is live-out.
Do not optimize away cmp if EFLAGS is live-out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159888 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Bindings')
0 files changed, 0 insertions, 0 deletions