[polly] r309730 - Silence -Wunused-variable warning in NDEBUG builds
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 1 12:53:02 PDT 2017
Author: rnk
Date: Tue Aug 1 12:53:01 2017
New Revision: 309730
URL: http://llvm.org/viewvc/llvm-project?rev=309730&view=rev
Log:
Silence -Wunused-variable warning in NDEBUG builds
Modified:
polly/trunk/lib/Transform/ForwardOpTree.cpp
Modified: polly/trunk/lib/Transform/ForwardOpTree.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Transform/ForwardOpTree.cpp?rev=309730&r1=309729&r2=309730&view=diff
==============================================================================
--- polly/trunk/lib/Transform/ForwardOpTree.cpp (original)
+++ polly/trunk/lib/Transform/ForwardOpTree.cpp Tue Aug 1 12:53:01 2017
@@ -280,9 +280,8 @@ private:
if (Assessment != FD_CanForwardTree)
return false;
- ForwardingDecision Execution =
- canForwardTree(Stmt, RA->getAccessValue(), Stmt, InLoop, true);
- assert(Execution == FD_DidForward);
+ assert(canForwardTree(Stmt, RA->getAccessValue(), Stmt, InLoop, true) ==
+ FD_DidForward);
Stmt->removeSingleMemoryAccess(RA);
return true;
More information about the llvm-commits
mailing list