Revert "Move function to obtain branch weights into the BranchInst class. NFC."
authorJuergen Ributzka <juergen@apple.com>
Tue, 9 Dec 2014 17:32:12 +0000 (17:32 +0000)
committerJuergen Ributzka <juergen@apple.com>
Tue, 9 Dec 2014 17:32:12 +0000 (17:32 +0000)
commitf3ac16dcb4749fb8d75a0de24d4e6240f1bfdd77
treeb660017e3eb0503136433cd8e4b398ec8c9e093c
parent574ca2ad28cb952c2bbfb3f8bc5f0b741b6fa456
Revert "Move function to obtain branch weights into the BranchInst class. NFC."

This reverts commit r223784 and copies the 'ExtractBranchMetadata' to CodeGenPrepare.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223795 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Instructions.h
lib/CodeGen/CodeGenPrepare.cpp
lib/IR/Instructions.cpp
lib/Transforms/Utils/SimplifyCFG.cpp