Skip to content

Commit 5e4e6b1

Browse files
committed
[DivRemPairs] Fixup DNDEBUG build - variable is only used in assertion
llvm-svn: 367423
1 parent 4593ce8 commit 5e4e6b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Transforms/Scalar/DivRemPairs.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ static bool optimizeDivRem(Function &F, const TargetTransformInfo &TTI,
195195
auto &RemInst = E.RemInst;
196196

197197
const bool RemOriginallyWasInExpandedForm = E.isRemExpanded();
198+
(void)RemOriginallyWasInExpandedForm; // suppress unused variable warning
198199

199200
if (HasDivRemOp && E.isRemExpanded()) {
200201
// The target supports div+rem but the rem is expanded.

0 commit comments

Comments
 (0)