Skip to content

[PowerPC] fatal error: error in backend: failed to perform tail call elimination on a call site marked musttail #63214

Closed
@pkubaj

Description

@pkubaj

FreeBSD 13.2-RELEASE
LLVM from devel/llvm-devel, version 17.0.d20230522,
PowerPC, PowerPC64, PowerPC64LE

Reproducer:

void name(int *params, int *program, int r, int g, int b, int a) {
  auto fn = (void (*)(int *, int *, int, int, int, int))1;
  [[clang::musttail]] return fn(params, program, r, g, b, a);
}

Compile with:

clang++-devel -cc1 -triple powerpc64le-portbld-freebsd13.2 -emit-obj SkOpts-735c83.cpp

Output:

fatal error: error in backend: failed to perform tail call elimination on a call site marked musttail

This causes Firefox 114 to fail to build.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions