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

Fix attributes and opaque pointer usage for LLVM15 #49528

Merged
merged 1 commit into from
Apr 27, 2023
Merged

Conversation

vchuravy
Copy link
Member

Extracted from #48700

Co-authored-by: Gabriel Baraldi <baraldigabriel@gmail.com>
Co-authored-by: Prem Chintalapudi <prem.chintalapudi@gmail.com>
@vchuravy vchuravy mentioned this pull request Apr 27, 2023
3 tasks
@vchuravy vchuravy merged commit 527117e into master Apr 27, 2023
@vchuravy vchuravy deleted the vc/llvm15_attr branch April 27, 2023 14:05
Comment on lines 6323 to -6316
Type *prt = sig.prt;
if (sig.sret)
prt = sig.fargt_sig[0]->getContainedType(0); // sret is a PointerType
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a mistake here? This should be the sret type, not the pointer to it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants