1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

[LoopInterchange] Fix unused variables in release build

llvm-svn: 345881
This commit is contained in:
Florian Hahn 2018-11-01 19:51:13 +00:00
parent 1fdc70c30d
commit b6616fa5de

View File

@ -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");