[Mlir-commits] [mlir] [mlir][spirv] Remove `enableFastMathMode` flag from SPIR-V conversion (PR #86578)
Jakub Kuderski
llvmlistbot at llvm.org
Wed Mar 27 14:35:49 PDT 2024
================
@@ -8,7 +8,7 @@ module attributes {
// CHECK-SAME: %[[LHS:.+]]: f32, %[[RHS:.+]]: f32
func.func @cmpf_ordered(%arg0 : f32, %arg1 : f32) -> i1 {
// CHECK: %[[T:.+]] = spirv.Constant true
- %0 = arith.cmpf ord, %arg0, %arg1 : f32
+ %0 = arith.cmpf ord, %arg0, %arg1 fastmath<fast> : f32
----------------
kuhar wrote:
fastify-math pass sounds like a good idea
https://github.com/llvm/llvm-project/pull/86578
More information about the Mlir-commits
mailing list