Issue 133098
Summary aarch64-pc-windows: failed to perform tail call elimination on a call site marked musttail
Labels backend:AArch64, platform:windows
Assignees
Reporter zmodem
    Consider:

```
$ cat /tmp/a.ii
struct S {};

struct T {
  S Foo(S);
  S Get(S);
};

S T::Get(S key) {
  [[clang::musttail]] return Foo(key);
}

$ clang -cc1 -triple aarch64-pc-windows-msvc19.34.0 -emit-obj /tmp/a.ii
fatal error: error in backend: failed to perform tail call elimination on a call site marked musttail
```

(Other aarch64 triples, such as aarch64-unknown-unknown, work.)
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to