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

omp.outlined routines marked noinline and alwaysinline cause assertion #50691

Closed
mikerice1969 opened this issue Aug 4, 2021 · 3 comments
Closed
Labels
bugzilla Issues migrated from bugzilla openmp

Comments

@mikerice1969
Copy link
Contributor

Bugzilla Link 51349
Resolution FIXED
Resolved on Sep 15, 2021 13:01
Version trunk
OS All
CC @alexey-bataev,@DimitryAndric,@jhuber6,@jdoerfert,@LebedevRI
Fixed by commit(s) 41a6b50

Extended Description

Presumably after:

commit af00019
[OpenMP] Always inline the OpenMP outlined function

void a() {
#pragma omp parallel if (0)
;
}

Attributes 'noinline and alwaysinline' are incompatible!
void (i32*, i32*)* @.omp_outlined.
in function .omp_outlined.
fatal error: error in backend: Broken function found, compilation aborted!

See: https://godbolt.org/z/W1nnr7e8G

@jhuber6
Copy link
Contributor

jhuber6 commented Aug 6, 2021

Should be fixed with https://reviews.llvm.org/D107649, can you verify?

@DimitryAndric
Copy link
Collaborator

This should be merged to 13.0.0, if possible?

@DimitryAndric
Copy link
Collaborator

mentioned in issue llvm/llvm-bugzilla-archive#51880

@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 openmp
Projects
None yet
Development

No branches or pull requests

3 participants