[llvm] Wasm: add support for `swifttailcc` calling convention (PR #188296)

Max Desiatov via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 30 12:55:20 PDT 2026


================
@@ -0,0 +1,115 @@
+; RUN: llc < %s -mtriple=wasm32-unknown-unknown -verify-machineinstrs -disable-wasm-fallthrough-return-opt -wasm-disable-explicit-locals -wasm-keep-registers -mattr=+tail-call | FileCheck %s
+; RUN: llc < %s -mtriple=wasm64-unknown-unknown -verify-machineinstrs -disable-wasm-fallthrough-return-opt -wasm-disable-explicit-locals -wasm-keep-registers -mattr=+tail-call | FileCheck --check-prefix=WASM64 %s
+
+; Test swifttailcc (SwiftTail calling convention) support for WebAssembly.
+; Requires the tail-call feature for return_call / return_call_indirect.
----------------
MaxDesiatov wrote:

Thanks, that's done now.

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


More information about the llvm-commits mailing list