[llvm] r335648 - Use a variable to appease a no-asserts bot, NFC

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 26 11:55:27 PDT 2018


Author: vedantk
Date: Tue Jun 26 11:55:26 2018
New Revision: 335648

URL: http://llvm.org/viewvc/llvm-project?rev=335648&view=rev
Log:
Use a variable to appease a no-asserts bot, NFC

Failure URL:
http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/22836

Modified:
    llvm/trunk/lib/Transforms/Utils/Local.cpp

Modified: llvm/trunk/lib/Transforms/Utils/Local.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/Local.cpp?rev=335648&r1=335647&r2=335648&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/Local.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/Local.cpp Tue Jun 26 11:55:26 2018
@@ -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');
     }
 }




More information about the llvm-commits mailing list