[FastISel][X86] - Add branch weights
authorJuergen Ributzka <juergen@apple.com>
Fri, 13 Jun 2014 00:45:11 +0000 (00:45 +0000)
committerJuergen Ributzka <juergen@apple.com>
Fri, 13 Jun 2014 00:45:11 +0000 (00:45 +0000)
commit454d374e37ebebf7a2746093d8543197516b95d0
treef9163af777d6a298711f4fc54cb7d496373ef4cd
parent030294e4c5c609d2f411947241a1c221db218837
[FastISel][X86] - Add branch weights

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

llvm-svn: 210863
llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
llvm/lib/Target/X86/X86FastISel.cpp
llvm/test/CodeGen/X86/fast-isel-branch_weights.ll [new file with mode: 0644]