[Mlir-commits] [mlir] Fix handling of integer template argument in emitc.call_opaque (PR #141451)

Jianjian Guan llvmlistbot at llvm.org
Mon May 26 02:06:32 PDT 2025


================
@@ -109,3 +109,9 @@ func.func @apply() -> !emitc.ptr<i32> {
 func.func @array_type(%arg0: !emitc.array<3xi32>, %arg1: !emitc.array<10x20xf32>) {
   return
 }
+
+// CHECK: call_opaque_with_template_arg
+func.func @call_opaque_with_template_arg() {
+  emitc.call_opaque "init_tile"() {template_args = [512 : index]} : () -> ()
----------------
jacquesguan wrote:

Should add a check line for the output of `emitc.call_opaque`.

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


More information about the Mlir-commits mailing list