summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorManman Ren <mren@apple.com>2012-07-31 01:11:07 +0000
committerManman Ren <mren@apple.com>2012-07-31 01:11:07 +0000
commit2b6a0dfd4ce1f8cf6b1f4a1bcb8fb13c39efb347 (patch)
treeb43135e83954facb956ddf0386cfc80a4902a273 /clang/lib/Driver/Tools.cpp
parent42e8d6497d754b46088a9f0b20e2cb02e7cd2a5f (diff)
downloadbcm5719-llvm-2b6a0dfd4ce1f8cf6b1f4a1bcb8fb13c39efb347.tar.gz
bcm5719-llvm-2b6a0dfd4ce1f8cf6b1f4a1bcb8fb13c39efb347.zip
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 llvm-svn: 161018
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud