[llvm-bugs] [Bug 28459] New: musttail does not support vararg function on ARM and PPC32/PPC64
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Jul 7 10:20:59 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=28459
Bug ID: 28459
Summary: musttail does not support vararg function on ARM and
PPC32/PPC64
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: ARM
Assignee: unassignedbugs at nondot.org
Reporter: yyc1992 at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
The following IR fails with
```
LLVM ERROR: failed to perform tail call elimination on a call site marked
musttail
```
when compiling for `arm`, `ppc32` and `ppc64` but it passes on `x86`, `x64` or
`aarch64`.
```
declare void @g2(i8*, ...)
define void @f2(i8*, ...) {
top:
musttail call void (i8*, ...) @g2(i8* %0, ...)
ret void
}
```
I think this should be possible to support on these archs? If there are any
limitation on what arch can support this, it would be worth mentioning in the
langref, which currently doesn't mention any architecture specific limitations.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160707/facb22e1/attachment.html>
More information about the llvm-bugs
mailing list