[Mlir-commits] [mlir] [MLIR][LLVM] Add vararg support in LLVM::LLVMFuncOp (PR #67274)
Tobias Gysi
llvmlistbot at llvm.org
Wed Sep 27 02:19:02 PDT 2023
================
@@ -1563,6 +1571,19 @@ llvm.func @invokeLandingpad() -> i32 attributes { personality = @__gxx_personali
// CHECK-NEXT: to label %[[normal]] unwind label %[[unwind]]
^bb3: // pred: ^bb1
%8 = llvm.invoke @bar(%6) to ^bb2 unwind ^bb1 : (!llvm.ptr<i8>) -> !llvm.ptr<i8>
+
+// CHECK: [[BB4:.*]]:
+// CHECK: invoke void (ptr, ...) @vararg_foo(ptr %[[a1]], i32 0)
+// CHECK-NEXT: to label %[[normal:[0-9]+]] unwind label %[[unwind:[0-9]+]]
----------------
gysit wrote:
```suggestion
```
nit: I would drop that since it seems not relevant for this test?
https://github.com/llvm/llvm-project/pull/67274
More information about the Mlir-commits
mailing list