Skip to content

Commit

Permalink
[polly] Fix -Wunused-lambda-capture and -Wunused-variable
Browse files Browse the repository at this point in the history
  • Loading branch information
MaskRay committed Nov 3, 2020
1 parent d48f2d7 commit 98031b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions polly/lib/Transform/ForwardOpTree.cpp
Expand Up @@ -487,6 +487,7 @@ class ForwardOpTreeImpl : ZoneAlgorithm {
LLVM_DEBUG(
dbgs() << " forwarded known load with preexisting MemoryAccess"
<< Access << "\n");
(void)Access;

NumKnownLoadsForwarded++;
TotalKnownLoadsForwarded++;
Expand Down Expand Up @@ -574,6 +575,7 @@ class ForwardOpTreeImpl : ZoneAlgorithm {
MemoryAccess *Access = makeReadArrayAccess(TargetStmt, LI, SameVal);
LLVM_DEBUG(dbgs() << " forwarded known load with new MemoryAccess"
<< Access << "\n");
(void)Access;

if (LocalTranslator)
Translator = Translator.add_map(LocalTranslator);
Expand Down

0 comments on commit 98031b6

Please sign in to comment.