Skip to content

MMA - crash when ArgPromotion promotes pointer to quad/pair types #49296

@ahsansaghir

Description

@ahsansaghir
Bugzilla Link 49952
Resolution FIXED
Resolved on May 06, 2021 17:17
Version trunk
OS Linux
Blocks #48661
CC @DougGregor,@zygoloid,@tstellar
Fixed by commit(s) 670736a 225b775

Extended Description

Minimal test case:

static void attribute((noinline)) print_acc(__vector_quad *a) {
vector unsigned char a0[4];
__builtin_mma_disassemble_acc((void *)(a0), a);
print_values(a0[0]);
}
void test(__vector_quad *a, vector unsigned char ac) {
__builtin_mma_xvf32ger(a, ac, ac);
print_acc(a);
}

To reproduce:
clang -O3 -mcpu=pwr10 t.c -S

Metadata

Metadata

Assignees

Labels

bugzillaIssues migrated from bugzillac

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions