From ec08befbcca7205ba3384417e5392dbefbf6c01f Mon Sep 17 00:00:00 2001 From: Yi Zhang Date: Wed, 17 Dec 2025 23:26:24 -0500 Subject: [PATCH] Fix variable only used by assert in #172716. --- mlir/lib/ExecutionEngine/APFloatWrappers.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/mlir/lib/ExecutionEngine/APFloatWrappers.cpp b/mlir/lib/ExecutionEngine/APFloatWrappers.cpp index 9deb900fbe35d..b30a9072c0094 100644 --- a/mlir/lib/ExecutionEngine/APFloatWrappers.cpp +++ b/mlir/lib/ExecutionEngine/APFloatWrappers.cpp @@ -212,6 +212,7 @@ _mlir_apfloat_fused_multiply_add(int32_t semantics, uint64_t operand, multiplicand_, addend_, llvm::RoundingMode::NearestTiesToEven); assert(stat == llvm::APFloatBase::opOK && "expected fusedMultiplyAdd status to be OK"); + (void)stat; return operand_.bitcastToAPInt().getZExtValue(); }