[llvm] r326429 - [SCCP] Fix unused variable warning in release builds.
Benjamin Kramer via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 1 03:31:45 PST 2018
Author: d0k
Date: Thu Mar 1 03:31:44 2018
New Revision: 326429
URL: http://llvm.org/viewvc/llvm-project?rev=326429&view=rev
Log:
[SCCP] Fix unused variable warning in release builds.
Modified:
llvm/trunk/lib/Transforms/Scalar/SCCP.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/SCCP.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/SCCP.cpp?rev=326429&r1=326428&r2=326429&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/SCCP.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/SCCP.cpp Thu Mar 1 03:31:44 2018
@@ -1853,6 +1853,7 @@ static void findReturnsToZap(Function &F
if (CallInst *CI = BB.getTerminatingMustTailCall()) {
DEBUG(dbgs() << "Can't zap return of the block due to present "
<< "musttail call : " << *CI << "\n");
+ (void)CI;
return;
}
More information about the llvm-commits
mailing list