HomePhabricator

[LoopInfo][Refactor] Make SetLoopAlreadyUnrolled a member function of the Loop…

Description

[LoopInfo][Refactor] Make SetLoopAlreadyUnrolled a member function of the Loop Pass, NFC.

This avoid code duplication and allow us to add the disable unroll metadata elsewhere.

Differential Revision: https://reviews.llvm.org/D38928