summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
diff options
context:
space:
mode:
authorManman Ren <mren@apple.com>2012-08-08 00:51:41 +0000
committerManman Ren <mren@apple.com>2012-08-08 00:51:41 +0000
commit1be131ba275b33e674d09fc84a5ae5f4f27c8e15 (patch)
tree6b33a47ea0287c903e15ccbe3583859a54a1cea4 /llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
parent3b9a4428416566bca21fd43cfbaeeb566465b5d4 (diff)
downloadbcm5719-llvm-1be131ba275b33e674d09fc84a5ae5f4f27c8e15.tar.gz
bcm5719-llvm-1be131ba275b33e674d09fc84a5ae5f4f27c8e15.zip
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 llvm-svn: 161462
Diffstat (limited to 'llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud