diff options
author | Manman Ren <mren@apple.com> | 2012-07-31 01:11:07 +0000 |
---|---|---|
committer | Manman Ren <mren@apple.com> | 2012-07-31 01:11:07 +0000 |
commit | 11236143173d1aedeace570ac1133d3d5dfb268e (patch) | |
tree | 9abc085334d55ef613dcb80c9bc04e59751d37df /lib/Target/X86/Disassembler/X86DisassemblerDecoderCommon.h | |
parent | 8b5704f9589f20cdfb28b3632cc396995e4d8c45 (diff) |
Reverse order of the two branches at end of a basic block if it is profitable.
We branch to the successor with higher edge weight first.
Convert from
je LBB4_8 --> to outer loop
jmp LBB4_14 --> to inner loop
to
jne LBB4_14
jmp LBB4_8
PR12750
rdar: 11393714
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161018 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/Disassembler/X86DisassemblerDecoderCommon.h')
0 files changed, 0 insertions, 0 deletions