aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2013-04-05 23:29:01 +0000
committerHal Finkel <hfinkel@anl.gov>2013-04-05 23:29:01 +0000
commited6a28597b892961b883017fbe43b2f0c12acdf7 (patch)
tree3e4fedcb516829e1192b2ef1fffa28edc85b3937 /llvm/lib/Object/MachOObjectFile.cpp
parent85526f2e711ad02c33e0063035936e05b6da02c1 (diff)
downloadllvm-ed6a28597b892961b883017fbe43b2f0c12acdf7.zip
llvm-ed6a28597b892961b883017fbe43b2f0c12acdf7.tar.gz
llvm-ed6a28597b892961b883017fbe43b2f0c12acdf7.tar.bz2
Enable early if conversion on PPC
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. llvm-svn: 178926
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions