[Mlir-commits] [mlir] 188bf27 - Fix variable only used by assert in #172716. (#172788)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Dec 17 20:47:09 PST 2025


Author: Yi Zhang
Date: 2025-12-17T23:47:05-05:00
New Revision: 188bf2769a59aad66abc95cd8abcf26034963d9d

URL: https://github.com/llvm/llvm-project/commit/188bf2769a59aad66abc95cd8abcf26034963d9d
DIFF: https://github.com/llvm/llvm-project/commit/188bf2769a59aad66abc95cd8abcf26034963d9d.diff

LOG: Fix variable only used by assert in #172716. (#172788)

Added: 
    

Modified: 
    mlir/lib/ExecutionEngine/APFloatWrappers.cpp

Removed: 
    


################################################################################
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();
 }
 


        


More information about the Mlir-commits mailing list