[Mlir-commits] [mlir] [mlir][spirv] Add support for RelaxedPrecision in function arguments (PR #138685)
Lei Zhang
llvmlistbot at llvm.org
Tue May 6 08:20:26 PDT 2025
================
@@ -151,3 +151,11 @@ spirv.module Logical GLSL450 requires #spirv.vce<v1.0, [CacheControlsINTEL], [SP
spirv.Return
}
}
+
+// -----
+
+spirv.module Logical GLSL450 requires #spirv.vce<v1.0, [Shader], []> {
+ spirv.func @relaxed_precision_arg(%arg0: !spirv.ptr<f32, Function> {spirv.decoration = #spirv.decoration<RelaxedPrecision>}) -> () "None" attributes {relaxed_precision} {
----------------
antiagainst wrote:
Missing `// CHECK` line here?
https://github.com/llvm/llvm-project/pull/138685
More information about the Mlir-commits
mailing list