diff options
author | Manman Ren <mren@apple.com> | 2012-08-08 00:51:41 +0000 |
---|---|---|
committer | Manman Ren <mren@apple.com> | 2012-08-08 00:51:41 +0000 |
commit | 39ad568c62f5120faec29f69d3d614303a1f992d (patch) | |
tree | 4512b094b076453ca2fe06fa3a8a17fbe32f275b /test/Bindings/Ocaml/target.ml | |
parent | 130e603115129ec1a6b94550a15f7caea0cbf068 (diff) | |
download | external_llvm-39ad568c62f5120faec29f69d3d614303a1f992d.zip external_llvm-39ad568c62f5120faec29f69d3d614303a1f992d.tar.gz external_llvm-39ad568c62f5120faec29f69d3d614303a1f992d.tar.bz2 |
X86: enable CSE between CMP and SUB
We perform the following:
1> Use SUB instead of CMP for i8,i16,i32 and i64 in ISel lowering.
2> Modify MachineCSE to correctly handle implicit defs.
3> Convert SUB back to CMP if possible at peephole.
Removed pattern matching of (a>b) ? (a-b):0 and like, since they are handled
by peephole now.
rdar://11873276
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161462 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Bindings/Ocaml/target.ml')
0 files changed, 0 insertions, 0 deletions