diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2015-07-22 09:52:54 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2015-07-22 09:52:54 +0000 |
commit | 96ada25bf3af06ff3ef27eaade066d84b2668263 (patch) | |
tree | 732b0eee862d7932ef9dd8f4dbdd4e74c8426acf /llvm/lib/Transforms/Scalar/LoopUnswitch.cpp | |
parent | a1032a0f7cd5d6eac98d692633b82a86e704792c (diff) | |
download | llvm-96ada25bf3af06ff3ef27eaade066d84b2668263.zip llvm-96ada25bf3af06ff3ef27eaade066d84b2668263.tar.gz llvm-96ada25bf3af06ff3ef27eaade066d84b2668263.tar.bz2 |
[PM/AA] Remove all of the dead AliasAnalysis pointers being threaded
through APIs that are no longer necessary now that the update API has
been removed.
This will make changes to the AA interfaces significantly less
disruptive (I hope). Either way, it seems like a really nice cleanup.
llvm-svn: 242882
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopUnswitch.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/LoopUnswitch.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp b/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp index 0b62462..ad03cde 100644 --- a/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp +++ b/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp @@ -858,8 +858,7 @@ void LoopUnswitch::SplitExitEdges(Loop *L, // Although SplitBlockPredecessors doesn't preserve loop-simplify in // general, if we call it on all predecessors of all exits then it does. - SplitBlockPredecessors(ExitBlock, Preds, ".us-lcssa", - /*AliasAnalysis*/ nullptr, DT, LI, + SplitBlockPredecessors(ExitBlock, Preds, ".us-lcssa", DT, LI, /*PreserveLCSSA*/ true); } } |