This is an archive of the discontinued LLVM Phabricator instance.

[HardwareLoops] NFC - move some hardware loop judgement code to a common place for other using
ClosedPublic

Authored by shchenz on Jun 18 2019, 1:33 AM.

Details

Summary

Need to get conclusion that whether the loop can be converted to a hardware loop in some previous pass like LSR.

Move some code to structure HardwareLoopInfo, so that other pass can use it. This is a NFC patch.

Whole picture can be found in https://reviews.llvm.org/D63477

Diff Detail

Event Timeline

shchenz created this revision.Jun 18 2019, 1:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 18 2019, 1:33 AM
This revision is now accepted and ready to land.Jun 18 2019, 2:22 AM
This revision was automatically updated to reflect the committed changes.