Use a variable to appease a no-asserts bot, NFC
authorVedant Kumar <vsk@apple.com>
Tue, 26 Jun 2018 18:55:26 +0000 (18:55 +0000)
committerVedant Kumar <vsk@apple.com>
Tue, 26 Jun 2018 18:55:26 +0000 (18:55 +0000)
Failure URL:
http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/22836

llvm-svn: 335648

llvm/lib/Transforms/Utils/Local.cpp

index 6264724..eb13ae0 100644 (file)
@@ -1721,6 +1721,7 @@ void llvm::insertReplacementDbgValues(
       auto *I = DIB.insertDbgValueIntrinsic(&To, OldDII->getVariable(), Expr,
                                             OldDII->getDebugLoc().get(),
                                             &InsertBefore);
+      (void)I;
       LLVM_DEBUG(dbgs() << "REPLACE:  " << *I << '\n');
     }
 }