[FastISel][AArch64] Add branch weights.
authorJuergen Ributzka <juergen@apple.com>
Fri, 1 Aug 2014 18:39:24 +0000 (18:39 +0000)
committerJuergen Ributzka <juergen@apple.com>
Fri, 1 Aug 2014 18:39:24 +0000 (18:39 +0000)
commit50a4005e351c7fb9b9494e8320df3212dc8207e0
treee852effb4984fa68e7ff1e11b4eb9403001ce7b3
parent4966876597e3f6f8cd7062723d7e9f23c665e057
[FastISel][AArch64] Add branch weights.

Add branch weights to branch instructions, so that the following passes can
optimize based on it (i.e. basic block ordering).

Fixes <rdar://problem/17887137>.

llvm-svn: 214537
llvm/lib/Target/AArch64/AArch64FastISel.cpp
llvm/test/CodeGen/AArch64/fast-isel-branch_weights.ll [new file with mode: 0644]