[Mlir-commits] [mlir] Bugfix in emitc.call_opaque operand emission (PR #153980)

Gabriel Dehame llvmlistbot at llvm.org
Sat Aug 16 14:47:40 PDT 2025


gdehame wrote:

Example MLIR leading to an error before fix:
```
module {
  emitc.func @f(%0 : i32, %1 : i32) {
    %2 = expression : i1 {
      %3 = cmp lt, %0, %1 : (i32, i32) -> i1
      %4 = emitc.call_opaque "g"(%3) {"args" = [0: index, 0 : i32]} : (i1) -> i1
      yield %4 : i1
    }
    return
  }
}
```

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


More information about the Mlir-commits mailing list