HomePhabricator

[ScopBuilder] Move hoistInvariantLoads to ScopBuilder. NFC.

Description

[ScopBuilder] Move hoistInvariantLoads to ScopBuilder. NFC.

Refactor Scop and ScopBuilder class:

  1. Move hoistInvariantLoads function from Scop to ScopBuilder class.
  1. Private functions (addInvariantLoads, getNonHoistableCtx) are moved to public section of Scop class. hoistInvariantLoads function references these functions. These functions will be moved to ScopBuilder as well in the next steps.

Patch by Dominik Adamski <adamski.dominik@gmail.com>

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

Details

Committed
MeinersburJun 11 2019, 9:23 PM
Differential Revision
D62925: [Polly][NFC][ScopBuilder] Move hoistInvariantLoads to ScopBuilder
Branches
Unknown
Tags
Unknown