This is an archive of the discontinued LLVM Phabricator instance.

Enable partial and runtime loop unrolling for NVPTX
ClosedPublic

Authored by meheff on Jun 30 2015, 4:45 PM.

Details

Summary

Enable partial and runtime loop unrolling for NVPTX backend via
TTI::UnrollingPreferences with a small threshold. This partially unrolls
small loops which are often unrolled by the PTX to SASS compiler
and unrolling earlier can be beneficial.

Diff Detail

Repository
rL LLVM

Event Timeline

meheff updated this revision to Diff 28828.Jun 30 2015, 4:45 PM
meheff retitled this revision from to Enable partial and runtime loop unrolling for NVPTX.
meheff updated this object.
meheff edited the test plan for this revision. (Show Details)
meheff added reviewers: jholewinski, broune.
meheff set the repository for this revision to rL LLVM.
meheff added a subscriber: Unknown Object (MLST).
broune accepted this revision.Jun 30 2015, 8:46 PM
broune edited edge metadata.
This revision is now accepted and ready to land.Jun 30 2015, 8:46 PM
jholewinski accepted this revision.Jul 1 2015, 5:05 AM
jholewinski edited edge metadata.

Looks reasonable to me

Eugene.Zelenko added a subscriber: Eugene.Zelenko.

Committed in r242049.