commit | 40288f72380d2951cd2d4034922c2c515acb6cfd | [log] [tgz] |
---|---|---|
author | Cong Hou <congh@google.com> | Tue Dec 22 18:56:14 2015 +0000 |
committer | Cong Hou <congh@google.com> | Tue Dec 22 18:56:14 2015 +0000 |
tree | 8c530d1f200d972a6b69b4c49568ba838e3771a1 | |
parent | d8502a20d57dc71e3363abb44812b14cc53bbe0e [diff] |
[BPI] Replace weights by probabilities in BPI. This patch removes all weight-related interfaces from BPI and replace them by probability versions. With this patch, we won't use edge weight anymore in either IR or MC passes. Edge probabilitiy is a better representation in terms of CFG update and validation. Differential revision: http://reviews.llvm.org/D15519 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256263 91177308-0d34-0410-b5e6-96231b3b80d8