[Mlir-commits] [mlir] Expose Tail Kind Call to MLIR (PR #98080)

Tobias Gysi llvmlistbot at llvm.org
Tue Jul 9 11:07:20 PDT 2024


================
@@ -0,0 +1,38 @@
+; RUN: mlir-translate -import-llvm -split-input-file %s | FileCheck %s
+
+; CHECK: llvm.func @tailkind()
+declare void @tailkind()
+
+; CHECK-LABEL: @call_tailkind
+define void @call_tailkind() {
+  ; CHECK: llvm.call musttail @tailkind()
+  musttail call void @tailkind()
+
----------------
gysit wrote:

```suggestion
```
ultra nit: I would drop these newlines before the return here and in the tests below.

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


More information about the Mlir-commits mailing list