Skip to content

Conversation

@XChy
Copy link

@XChy XChy commented Nov 22, 2023

Fixes #453
If possible, I prefer to creating a new branch llvm-latest to cover it. But I have not writing access.
LLVM's IR and API have changed a lot so far, like opaque-ptr, and the master branch of dg is not compatible with latest LLVM version. So I post this PR to fix it.

@mchalupa
Copy link
Owner

mchalupa commented Nov 29, 2023

Thanks a lot, such patches are always very welcome! I created the branch llvm-latest as you wanted. If you're OK with that, I would later apply this PR with some modifications to devel and eventually to master branches. (the modification would be just to drop reformatting of CMakeLists.txt and fix the changes so that they work with older LLVMs too).

@XChy
Copy link
Author

XChy commented Nov 29, 2023

Thanks. That's OK. But to note, this patch just makes it compilable, not free of bugs. Such integration with latest LLVM is untested, so we may need to fix it in the future.

@mchalupa mchalupa closed this Nov 29, 2023
@mchalupa mchalupa reopened this Nov 29, 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.

Support LLVM 18

2 participants