commit | 67f22b7af9d3f0907d260172f226f7b53eeddbfb | [log] [tgz] |
---|---|---|
author | Hal Finkel <hfinkel@anl.gov> | Sun Feb 22 18:35:32 2015 +0000 |
committer | Hal Finkel <hfinkel@anl.gov> | Sun Feb 22 18:35:32 2015 +0000 |
tree | 7d7ca406413bec98909ebfff4505957d9f7b7cd8 | |
parent | 66c960350c9f1380ae5adbb19947e435d7b0d752 [diff] |
[LICM] Refactor to expose functionality as utility functions This refactors the core functionality of LICM: HoistRegion, SinkRegion and PromoteAliasSet (renamed to promoteLoopAccessesToScalars) as utility functions in LoopUtils. This will enable other transformations to make use of them directly. Patch by Ashutosh Nema. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230178 91177308-0d34-0410-b5e6-96231b3b80d8