Skip to content

Fix attributes and opaque pointer usage for LLVM15#49528

Merged
vchuravy merged 1 commit intomasterfrom
vc/llvm15_attr
Apr 27, 2023
Merged

Fix attributes and opaque pointer usage for LLVM15#49528
vchuravy merged 1 commit intomasterfrom
vc/llvm15_attr

Conversation

@vchuravy
Copy link
Copy Markdown
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
Copy Markdown
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