diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2015-01-19 03:03:39 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2015-01-19 03:03:39 +0000 |
| commit | 0eae112009967cfb4ffa441e62c89fb8c38331bd (patch) | |
| tree | 85349f24ad71be8c498fc8f683d17f7fdfdcd31d /llvm/lib/Transforms/Scalar/LoopUnswitch.cpp | |
| parent | 26500a56f5a01124dca93218c7f4ca957afa3e12 (diff) | |
| download | bcm5719-llvm-0eae112009967cfb4ffa441e62c89fb8c38331bd.tar.gz bcm5719-llvm-0eae112009967cfb4ffa441e62c89fb8c38331bd.zip | |
[PM] Lift the analyses into the interface for
SplitLandingPadPredecessors and remove the Pass argument from its
interface.
Another step to the utilities being usable with both old and new pass
managers.
llvm-svn: 226426
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopUnswitch.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/LoopUnswitch.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp b/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp index cf80244bb77..30d6d510ace 100644 --- a/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp +++ b/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp @@ -775,7 +775,8 @@ void LoopUnswitch::SplitExitEdges(Loop *L, } else { SmallVector<BasicBlock*, 2> NewBBs; SplitLandingPadPredecessors(ExitBlock, Preds, ".us-lcssa", ".us-lcssa", - this, NewBBs); + NewBBs, /*AliasAnalysis*/ nullptr, DT, LI, + /*PreserveLCSSA*/ true); } } } |

