This is an archive of the discontinued LLVM Phabricator instance.

PPC: Don't replace weighted branches with ISEL on some targets.
Needs ReviewPublic

Authored by iteratee on Jan 11 2016, 2:08 PM.

Details

Reviewers
hfinkel
Summary

On POWER7 and POWER8 an ISEL is comparatively slow compared to a
weighted branch. Don't replace a hinted branch with an ISEL on these
targets.

Diff Detail

Event Timeline

iteratee updated this revision to Diff 44554.Jan 11 2016, 2:08 PM
iteratee retitled this revision from to PPC: Don't replace weighted branches with ISEL on some targets..
iteratee updated this object.
iteratee added a reviewer: hfinkel.
iteratee added a subscriber: llvm-commits.
hfinkel edited edge metadata.Jan 12 2016, 5:15 PM

This patch is missing the parts that add the target feature and corresponding function.