diff options
author | Chris Lattner <sabre@nondot.org> | 2006-10-21 06:03:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-10-21 06:03:11 +0000 |
commit | 7c4fe259f8bfeae542cfef25c1f1e9b1ff25a39b (patch) | |
tree | 67ca12c306fb9d50e4e58a3ec2064c08270bd9b9 /lib/CodeGen/BranchFolding.cpp | |
parent | a2d799531a748a349b9a458dbbc580b134074c49 (diff) |
Implement support for branch reversal, fix a bug in branch analysis.
This provides stuff like:
cmpw cr0, r15, r29
mr r14, r15
- bge cr0, LBB3_111 ;bb656
- b LBB3_90 ;bb501
+ blt cr0, LBB3_90 ;bb501
LBB3_111: ;bb656
lwz r18, 68(r1)
which is particularly good for dispatch group formation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31101 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BranchFolding.cpp')
0 files changed, 0 insertions, 0 deletions