diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-02-23 19:02:03 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-02-23 19:02:03 +0000 |
commit | e49737eb046479c0610f1254ef311a91036a5144 (patch) | |
tree | 0329bf538c7f7b280e5c880aeccd90070e8a3040 /lib/Transforms | |
parent | c60b95818e4f6c00c872114318d01109f97a7fa3 (diff) |
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/Scalar/LICM.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Transforms/Scalar/LICM.cpp b/lib/Transforms/Scalar/LICM.cpp index 4c15c8a32bec6..f51d11c04cb23 100644 --- a/lib/Transforms/Scalar/LICM.cpp +++ b/lib/Transforms/Scalar/LICM.cpp @@ -1196,10 +1196,7 @@ LoopInvariantCodeMotion::collectAliasInfoForLoop(Loop *L, LoopInfo *LI, auto mergeLoop = [&](Loop *L) { // Loop over the body of this loop, looking for calls, invokes, and stores. - // Because subloops have already been incorporated into AST, we skip blocks - // in subloops. for (BasicBlock *BB : L->blocks()) - if (LI->getLoopFor(BB) == L) // Ignore blocks in subloops. CurAST->add(*BB); // Incorporate the specified basic block }; |