[Mlir-commits] [mlir] [mlir][LLVM] Add operand bundle support (PR #108933)
Markus Böck
llvmlistbot at llvm.org
Mon Sep 23 09:31:41 PDT 2024
================
@@ -1655,3 +1655,13 @@ llvm.func @alwaysinline_noinline() attributes { always_inline, no_inline } {
llvm.func @optnone_requires_noinline() attributes { optimize_none } {
llvm.return
}
+
+// -----
+
+llvm.func @foo()
+llvm.func @wrong_number_of_bundle_types() {
+ %0 = llvm.mlir.constant(0 : i32) : i32
+ // expected-error at +1 {{expected 1 types for operand bundle operands for operand bundle #0, but actually got 2}}
+ llvm.call @foo() ["tag"(%0 : i32, i32)] : () -> () bundletype((i32, i32))
----------------
zero9178 wrote:
```suggestion
llvm.call @foo() ["tag"(%0 : i32, i32)] : () -> ()
```
https://github.com/llvm/llvm-project/pull/108933
More information about the Mlir-commits
mailing list