Skip to content

SystemZ: 128-bit element-type vector arguments unsupported #61291

Closed
@aarnez

Description

@aarnez

The SystemZ backend currently doesn't support passing vectors with 128-bit element types such as long double or __int128. Verified with this snippet:

typedef long double sometype;

sometype get_elem(sometype __attribute__ ((vector_size (16))) v)
{
  return v[0];
}

When trying to compile, Clang crashes with this message:

fatal error: error in backend: Unsupported vector argument or return type
PLEASE submit a bug report…

The same happens when defining sometype to __int128 or when trying to return such a vector type instead of passing it as an argument.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions