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

update llir/llvm to support LLVM 15.0 #222

Open
mewmew opened this issue Aug 2, 2022 · 7 comments · Fixed by #223
Open

update llir/llvm to support LLVM 15.0 #222

mewmew opened this issue Aug 2, 2022 · 7 comments · Fixed by #223

Comments

@mewmew
Copy link
Member

mewmew commented Aug 2, 2022

ref: #220.

LLVM 15.0 is yet to be released (release candidate at: https://github.com/llvm/llvm-project/releases/tag/llvmorg-15.0.0-rc1)

TODO: Once released, create a diff as follows:

wget https://github.com/llvm/llvm-project/archive/llvmorg-14.0.6.tar.gz
wget https://github.com/llvm/llvm-project/archive/llvmorg-15.0.0.tar.gz
tar zxf llvmorg-14.0.6.tar.gz
tar zxf llvmorg-15.0.0.tar.gz
git diff -w llvm-project-llvmorg-14.0.6/llvm/lib/AsmParser llvm-project-llvmorg-15.0.0/llvm/lib/AsmParser > llvm14.diff
git diff -w llvm-project-llvmorg-14.0.6/llvm/include/llvm/IR/Attributes.td llvm-project-llvmorg-15.0.0/llvm/include/llvm/IR/Attributes.td >> llvm15.diff
@dannypsnl
Copy link
Member

But since 16 is bumped, I guess release of 15 will be soon?

@mewmew
Copy link
Member Author

mewmew commented Aug 2, 2022

But since 16 is bumped, I guess release of 15 will be soon?

Yeah, I think so too.

Also, LLVM 16.0 will be an interesting release as it will be the first one to use opaque pointers (instead of typed pointers) by default. This will require a massive change throughout the codebase of llir/llvm (anything relying on ElemType of PointerType would have to be updated). So will be fun to see how the update goes : )

From https://llvm.org/docs/OpaquePointers.html#version-support:

LLVM 14: Supports all necessary APIs for migrating to opaque pointers and deprecates/removes incompatible APIs. However, using opaque pointers in the optimization pipeline is not fully supported. This release can be used to make out-of-tree code compatible with opaque pointers, but opaque pointers should not be enabled in production.

LLVM 15: Opaque pointers are enabled by default. Typed pointers are still available, but only supported on a best-effort basis and may be untested.

LLVM 16: Only opaque pointers will be supported. Typed pointers will not be supported.

@mewmew
Copy link
Member Author

mewmew commented Aug 2, 2022

From https://llvm.org/

LLVM Release Schedule:

  • 15.0.0
    • Jul 26: release/15.x branch created.
    • Jul 29: 15.0.0-rc1
    • Aug 9: 15.0.0-rc2
    • Aug 23: 15.0.0-rc3
    • Sep 6: 15.0.0-final

@mewmew mewmew changed the title update llir/llvm to support 15.0 llvm15: update llir/llvm to support 15.0 Aug 2, 2022
@mewmew mewmew changed the title llvm15: update llir/llvm to support 15.0 llvm15: update llir/llvm to support LLVM 15.0 Aug 2, 2022
@mewmew mewmew changed the title llvm15: update llir/llvm to support LLVM 15.0 update llir/llvm to support LLVM 15.0 Aug 3, 2022
@mewmew
Copy link
Member Author

mewmew commented Aug 3, 2022

Re-opening this issue since LLVM 15.0 has not yet been released. llir/llvm currently supports the LLVM 15.0 rc1 release.

@mewmew mewmew reopened this Aug 3, 2022
@dannypsnl
Copy link
Member

https://discourse.llvm.org/t/llvm-15-0-0-release/65099
Here we go

@mewmew
Copy link
Member Author

mewmew commented Sep 6, 2022

https://discourse.llvm.org/t/llvm-15-0-0-release/65099
Here we go

Yay! Just a quick heads up, I'll be very busy at Uni for the next few months. So. I won't be able to review work on the LLVM 15 release.

Cheers,
Robin

@dannypsnl
Copy link
Member

Update: 15.0.3 https://github.com/llvm/llvm-project/releases/tag/llvmorg-15.0.3

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

Successfully merging a pull request may close this issue.

2 participants