commit | fc32605ff3a2a922362d2fb5cd31b47ce47e3fb8 | [log] [tgz] |
---|---|---|
author | Hal Finkel <hfinkel@anl.gov> | Mon May 20 16:47:07 2013 +0000 |
committer | Hal Finkel <hfinkel@anl.gov> | Mon May 20 16:47:07 2013 +0000 |
tree | 74520cc266c45f5e960c63aa9f872d9246c1e1fe | |
parent | 9b39c726a007d8a4101568e9afe72658a5ae1b7c [diff] |
Expose InsertPreheaderForLoop from LoopSimplify to other passes Other passes, PPC counter-loop formation for example, also need to add loop preheaders outside of the regular loop simplification pass. This makes InsertPreheaderForLoop a global function so that it can be used by other passes. No functionality change intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182299 91177308-0d34-0410-b5e6-96231b3b80d8