diff options
author | Michael Liao <michael.liao@intel.com> | 2012-08-10 19:58:13 +0000 |
---|---|---|
committer | Michael Liao <michael.liao@intel.com> | 2012-08-10 19:58:13 +0000 |
commit | 2a33cec66a5d1b755e2bb045bdac1690fdcff19e (patch) | |
tree | ed53af58d0f826d747c01bdca93a65e44f0240ed /lib/CodeGen | |
parent | ac8a4ad47d17bac8c107d9f0e407d87befcd314e (diff) | |
download | external_llvm-2a33cec66a5d1b755e2bb045bdac1690fdcff19e.zip external_llvm-2a33cec66a5d1b755e2bb045bdac1690fdcff19e.tar.gz external_llvm-2a33cec66a5d1b755e2bb045bdac1690fdcff19e.tar.bz2 |
add X86-specific DAG optimization to simplify boolean test
- if a boolean test (X86ISD::CMP or X86ISD:SUB) checks a boolean value
generated from X86ISD::SETCC, try to simplify the boolean value
generation and checking by reusing the original EFLAGS with proper
condition code
- add hooks to X86 specific SETCC/BRCOND/CMOV, the major 3 places
consuming EFLAGS
part of patches fixing PR12312
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161687 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
0 files changed, 0 insertions, 0 deletions