HomePhabricator

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

Authored by etherzhhb on Oct 15 2017, 12:31 AM.

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

llvm-svn: 315850