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 API compat with LLVM 16 ToT. #918

Merged
merged 1 commit into from
Jan 20, 2023

Conversation

fodinabor
Copy link
Collaborator

This adopts to some API changes in upstream LLVM (e.g. using std::optional instead of llvm::Optional) and also makes iterating over the IR more idiomatic (and API compatible) by just using the module/function/bb as containers (which are iterable thanks to their begin and end functions.

Fixes #917

Copy link
Collaborator

@illuhad illuhad left a comment

Choose a reason for hiding this comment

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

Thanks!

@illuhad illuhad merged commit 637a068 into AdaptiveCpp:develop Jan 20, 2023
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.

Installation trouble
2 participants