[llvm-branch-commits] [llvm-branch] r331722 - Merging r326429:

Tom Stellard via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon May 7 20:20:53 PDT 2018


Author: tstellar
Date: Mon May  7 20:20:53 2018
New Revision: 331722

URL: http://llvm.org/viewvc/llvm-project?rev=331722&view=rev
Log:
Merging r326429:

------------------------------------------------------------------------
r326429 | d0k | 2018-03-01 03:31:44 -0800 (Thu, 01 Mar 2018) | 1 line

[SCCP] Fix unused variable warning in release builds.
------------------------------------------------------------------------

Modified:
    llvm/branches/release_60/lib/Transforms/Scalar/SCCP.cpp

Modified: llvm/branches/release_60/lib/Transforms/Scalar/SCCP.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_60/lib/Transforms/Scalar/SCCP.cpp?rev=331722&r1=331721&r2=331722&view=diff
==============================================================================
--- llvm/branches/release_60/lib/Transforms/Scalar/SCCP.cpp (original)
+++ llvm/branches/release_60/lib/Transforms/Scalar/SCCP.cpp Mon May  7 20:20:53 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-branch-commits mailing list