diff options
author | Anna Thomas <anna@azul.com> | 2017-05-03 19:25:04 +0000 |
---|---|---|
committer | Anna Thomas <anna@azul.com> | 2017-05-03 19:25:04 +0000 |
commit | f475fa3575eeaa5f445c2de2a9aafa3d95c65403 (patch) | |
tree | d6d321c8f11bbcd5ddf163a5ca0cd5aec33481bd /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp | |
parent | 1c697e99b6628612be86e00b5411c9c39afd798d (diff) | |
download | llvm-f475fa3575eeaa5f445c2de2a9aafa3d95c65403.zip llvm-f475fa3575eeaa5f445c2de2a9aafa3d95c65403.tar.gz llvm-f475fa3575eeaa5f445c2de2a9aafa3d95c65403.tar.bz2 |
Avoid warning of unused variable in release builds. NFC
llvm-svn: 302068
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp b/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp index 2c8e6c0..391fde3 100644 --- a/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp +++ b/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp @@ -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 |