HomePhabricator

[BPI] Replace weights by probabilities in BPI.

Authored by congh on Dec 22 2015, 10:56 AM.

Description

[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

llvm-svn: 256263

Details