aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PowerPC/ifcvt.ll
Commit message (Collapse)AuthorAgeFilesLines
* Enable early if conversion on PPCHal Finkel2013-04-051-0/+34
On cores for which we know the misprediction penalty, and we have the isel instruction, we can profitably perform early if conversion. This enables us to replace some small branch sequences with selects and avoid the potential stalls from mispredicting the branches. Enabling this feature required implementing canInsertSelect and insertSelect in PPCInstrInfo; isel code in PPCISelLowering was refactored to use these functions as well. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178926 91177308-0d34-0410-b5e6-96231b3b80d8