[Mlir-commits] [mlir] [mlir][LLVM] Add operand bundle support (PR #108933)
Tobias Gysi
llvmlistbot at llvm.org
Tue Sep 24 07:04:53 PDT 2024
================
@@ -2621,3 +2621,62 @@ llvm.func @reqd_work_group_size() attributes {reqd_work_group_size = array<i32:
llvm.func @intel_reqd_sub_group_size() attributes {intel_reqd_sub_group_size = 32 : i32}
// CHECK: ![[#INTEL_REQD_SUB_GROUP_SIZE]] = !{i32 32}
+
+// -----
+
+llvm.func @foo()
+
+llvm.func @call_with_empty_opbundle() {
+ llvm.call @foo() [] : () -> ()
+ llvm.return
+}
+
+// CHECK: define void @call_with_empty_opbundle() {
+// CHECK-NEXT: call void @foo()
+// CHECK-NEXT: ret void
+// CHECK-NEXT: }
----------------
gysit wrote:
Yeah from experience printing and parsing is quite error prone...
https://github.com/llvm/llvm-project/pull/108933
More information about the Mlir-commits
mailing list