projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d48f2d7
)
[polly] Fix -Wunused-lambda-capture and -Wunused-variable
author
Fangrui Song
<i@maskray.me>
Tue, 3 Nov 2020 04:35:26 +0000
(20:35 -0800)
committer
Fangrui Song
<i@maskray.me>
Tue, 3 Nov 2020 04:35:26 +0000
(20:35 -0800)
polly/lib/Transform/ForwardOpTree.cpp
patch
|
blob
|
history
diff --git
a/polly/lib/Transform/ForwardOpTree.cpp
b/polly/lib/Transform/ForwardOpTree.cpp
index
141ac26
..
f2cb80d
100644
(file)
--- a/
polly/lib/Transform/ForwardOpTree.cpp
+++ b/
polly/lib/Transform/ForwardOpTree.cpp
@@
-487,6
+487,7
@@
public:
LLVM_DEBUG(
dbgs() << " forwarded known load with preexisting MemoryAccess"
<< Access << "\n");
+ (void)Access;
NumKnownLoadsForwarded++;
TotalKnownLoadsForwarded++;
@@
-574,6
+575,7
@@
public:
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);