diff options
author | Tom Stellard <tstellar@redhat.com> | 2018-05-08 03:20:53 +0000 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2018-05-08 03:20:53 +0000 |
commit | c2239f5b46ef9c1cafa7b4aef3d023bca138ff0b (patch) | |
tree | a1cc398be8d6c84ed43822c9a4a49c097a3cd5f7 | |
parent | 56c31e605ad0060bd1282a9dc247c181057bdad1 (diff) | |
download | llvm-c2239f5b46ef9c1cafa7b4aef3d023bca138ff0b.tar.gz |
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.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_60@331722 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/Scalar/SCCP.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/SCCP.cpp b/lib/Transforms/Scalar/SCCP.cpp index 69636ed3ac8b..3e12649ddedc 100644 --- a/lib/Transforms/Scalar/SCCP.cpp +++ b/lib/Transforms/Scalar/SCCP.cpp @@ -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; } |