[NFC] Fix unused var in release builds
authorJordan Rupprecht <rupprecht@google.com>
Wed, 16 Oct 2019 23:09:56 +0000 (23:09 +0000)
committerJordan Rupprecht <rupprecht@google.com>
Wed, 16 Oct 2019 23:09:56 +0000 (23:09 +0000)
llvm-svn: 375053

llvm/lib/Transforms/Scalar/LoopUnswitch.cpp

index 6749cda..b410df0 100644 (file)
@@ -1616,6 +1616,7 @@ void LoopUnswitch::SimplifyCode(std::vector<Instruction*> &Worklist, Loop *L) {
         // If BI's parent is the only pred of the successor, fold the two blocks
         // together.
         BasicBlock *Pred = BI->getParent();
+        (void)Pred;
         BasicBlock *Succ = BI->getSuccessor(0);
         BasicBlock *SinglePred = Succ->getSinglePredecessor();
         if (!SinglePred) continue;  // Nothing to do.