Skip to content

Conversation

@gbaraldi
Copy link
Member

Fixes #57737

@gbaraldi gbaraldi added embarrassing-bugfix Whoops! compiler:llvm For issues that relate to LLVM labels Mar 12, 2025
#include "llvm-pass-helpers.h"
#include <map>
#include <string>
#include <optional>
Copy link
Member

Choose a reason for hiding this comment

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

Should this include be in src/llvm-late-gc-lowering.cpp rather than here? I don't see uses of optional in this file.

Copy link
Member Author

Choose a reason for hiding this comment

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

I was just following the pattern where that pass doesn't include any of it's own headers

@gbaraldi gbaraldi merged commit 96eb876 into master Mar 12, 2025
9 checks passed
@gbaraldi gbaraldi deleted the gb/fix-sret-handling branch March 12, 2025 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compiler:llvm For issues that relate to LLVM embarrassing-bugfix Whoops!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unexpected SRet argument

5 participants