diff options
author | Fangrui Song <i@maskray.me> | 2021-06-04 23:34:43 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2021-06-04 23:34:43 -0700 |
commit | 06e7de795bf19b950693b8dc86fa36f355dc6760 (patch) | |
tree | 8769513603d011d0a6074ce202539670918b166b /llvm/lib/Transforms/Utils/LoopRotationUtils.cpp | |
parent | 1309c181a85233c80051544f43008963c3d5fe71 (diff) | |
download | llvm-06e7de795bf19b950693b8dc86fa36f355dc6760.zip llvm-06e7de795bf19b950693b8dc86fa36f355dc6760.tar.gz llvm-06e7de795bf19b950693b8dc86fa36f355dc6760.tar.bz2 |
Fix some -Wunused-but-set-variable in -DLLVM_ENABLE_ASSERTIONS=off build
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopRotationUtils.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/LoopRotationUtils.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp b/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp index 651aaa3..ff7905be 100644 --- a/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp +++ b/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp @@ -637,6 +637,7 @@ bool LoopRotate::rotateLoop(Loop *L, bool SimplifiedLatch) { } assert(SplitLatchEdge && "Despite splitting all preds, failed to split latch exit?"); + (void)SplitLatchEdge; } else { // We can fold the conditional branch in the preheader, this makes things // simpler. The first step is to remove the extra edge to the Exit block. |