summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/2016-01-07-BranchWeightCrash.ll
Commit message (Collapse)AuthorAgeFilesLines
* Codegen: [PPC] Handle weighted comparisons when inserting selects.Kyle Butt2016-01-121-0/+35
Only non-weighted predicates were handled in PPCInstrInfo::insertSelect. Handle the weighted predicates as well. This latent bug was triggered by r255398, because it added use of the branch-weighted predicates. While here, switch over an enum instead of an int to get the compiler to enforce totality in the future. llvm-svn: 257518
OpenPOWER on IntegriCloud