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:
ddf0498
)
[LoopInterchange] Fix unused variables in release build
author
Florian Hahn
<florian.hahn@arm.com>
Thu, 1 Nov 2018 19:51:13 +0000
(19:51 +0000)
committer
Florian Hahn
<florian.hahn@arm.com>
Thu, 1 Nov 2018 19:51:13 +0000
(19:51 +0000)
llvm-svn: 345881
llvm/lib/Transforms/Scalar/LoopInterchange.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/Scalar/LoopInterchange.cpp
b/llvm/lib/Transforms/Scalar/LoopInterchange.cpp
index 523bac79b69df1c33c143a5f7b50d653bce3c1ee..7a4ae2eb30307a590ad805f4da4c37e17203456f 100644
(file)
--- a/
llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+++ b/
llvm/lib/Transforms/Scalar/LoopInterchange.cpp
@@
-1390,6
+1390,8
@@
bool LoopInterchangeTransform::adjustLoopBranches() {
// Make sure we have no other PHIs.
auto InnerPhis = drop_begin(InnerLoopHeader->phis(), 1);
auto OuterPhis = drop_begin(OuterLoopHeader->phis(), 1);
+ (void) InnerPhis;
+ (void) OuterPhis;
assert(begin(InnerPhis) == end(InnerPhis) && "Unexpected PHIs in inner loop");
assert(begin(OuterPhis) == end(OuterPhis) && "Unexpected PHis in outer loop");