Avoid warning of unused variable in release builds. NFC

llvm-svn: 302068
This commit is contained in:
Anna Thomas 2017-05-03 19:25:04 +00:00
parent 1c697e99b6
commit f475fa3575
1 changed files with 2 additions and 0 deletions

View File

@ -520,6 +520,8 @@ bool llvm::UnrollRuntimeLoopRemainder(Loop *L, unsigned Count,
(LatchBR->getSuccessor(0) == Exit || LatchBR->getSuccessor(1) == Exit) &&
"one of the loop latch successors should be "
"the exit block!");
// Avoid warning of unused `LatchBR` variable in release builds.
(void)LatchBR;
// Loop structure is the following:
//
// PreHeader