[Mlir-commits] [mlir] [mlir][spirv] Add a generic `convert-to-spirv` pass (PR #95942)

Ivan Butygin llvmlistbot at llvm.org
Wed Jun 19 11:26:20 PDT 2024


================
@@ -0,0 +1,9 @@
+// RUN: mlir-opt -convert-to-spirv %s | FileCheck %s
+
+// CHECK-LABEL: @ub
+// CHECK: %[[UNDEF0:.*]] = spirv.Undef : i32
+// CHECK: spirv.ReturnValue %0 : i32
----------------
Hardcode84 wrote:

`[[UNDEF0:]]`

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


More information about the Mlir-commits mailing list