[clang] [WebAssembly] Enable musttail only when tail-call is enabled (PR #163618)

Jasmine Tang via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 31 14:14:44 PDT 2025


================
@@ -508,6 +509,10 @@ def TargetMicrosoftRecordLayout : TargetArch<["x86", "x86_64", "arm", "thumb",
   let CustomCode = [{ Target.hasMicrosoftRecordLayout() }];
 }
 
+def TargetMustTailAvaiable: TargetArch<!listconcat(TargetARM.Arches, TargetAArch64.Arches, TargetAnyX86.Arches, TargetWebAssembly.Arches, TargetPowerPC.Arches)> {
+  let CustomCode = [{ Target.hasMustTail() }];
+}
+
----------------
badumbatish wrote:

i see

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


More information about the cfe-commits mailing list