Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ahsansaghir opened this issue Apr 13, 2021 · 4 comments
Closed

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

ahsansaghir opened this issue Apr 13, 2021 · 4 comments
Assignees
Labels
bugzilla Issues migrated from bugzilla c

Comments

@ahsansaghir
Copy link
Contributor

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

@ahsansaghir
Copy link
Contributor Author

assigned to @ahsansaghir

@ahsansaghir
Copy link
Contributor Author

Fix proposed in https://reviews.llvm.org/D101188

@ahsansaghir
Copy link
Contributor Author

@tstellar
Copy link
Collaborator

tstellar commented May 7, 2021

Merged: 225b775

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 11, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla c
Projects
None yet
Development

No branches or pull requests

2 participants