[Mlir-commits] [mlir] [mlir][ArithToSPIRV] Propagate fast-math flags to SPIR-V FPFastMathMode decorations (PR #193414)
Arseniy Obolenskiy
llvmlistbot at llvm.org
Fri Apr 24 02:42:43 PDT 2026
================
@@ -67,3 +67,72 @@ func.func @maxnumf(%arg0 : vector<4xf32>, %arg1 : vector<4xf32>) -> vector<4xf32
}
} // end module
+
+// -----
+
+// FPFastMathMode decoration tests (requires Kernel capability)
+
+module attributes {
+ spirv.target_env = #spirv.target_env<#spirv.vce<v1.0, [Kernel], []>, #spirv.resource_limits<>>
----------------
aobolensk wrote:
They will be dropped. Adjusted the code
https://github.com/llvm/llvm-project/pull/193414
More information about the Mlir-commits
mailing list