[Mlir-commits] [mlir] [mlir][arith][spirv] Convert arith.truncf rounding mode to SPIR-V (PR #101547)

Jakub Kuderski llvmlistbot at llvm.org
Thu Aug 1 18:55:17 PDT 2024


================
@@ -1,5 +1,22 @@
 // RUN: mlir-opt -split-input-file -convert-arith-to-spirv -verify-diagnostics %s
 
+///===----------------------------------------------------------------------===//
+// std cast ops
+//===----------------------------------------------------------------------===//
+
+module attributes {
+  spirv.target_env = #spirv.target_env<
----------------
kuhar wrote:

the `std` dialect was split/deleted a few years ago

```suggestion
// Cast ops
//===----------------------------------------------------------------------===//

module attributes {
  spirv.target_env = #spirv.target_env<
```

https://github.com/llvm/llvm-project/pull/101547


More information about the Mlir-commits mailing list