There is a patch D19488: [CodeGenPrepare] use branch weight metadata to decide if a select should be turned into a branch, this patch is for CGP, it will try to convert SELECT to branch based on the BranchProbability, when the BranchProbability more than MinPercentageForPredictableBranch(default value is 99%).
The variable PredictableSelectExpensive can be set whether we will do this SELECT to branch optimization, the default value is false. Now only ARM and X86 has set this variable like this:
For PPC, we should also set the variable PredictableSelectIsExpensive to do the select to if based on BranchProbability in CodeGenPrepare.
This should certainly be set for Power8 as well.