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

Move llvmlite to llvm19 #1092

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open

Move llvmlite to llvm19 #1092

wants to merge 20 commits into from

Conversation

yashssh
Copy link
Contributor

@yashssh yashssh commented Oct 25, 2024

Depends and contains changes introduced with #1091

List of changes in this MR

  • Delete legacy pass manager code
  • Delete typed pointer code
  • Update APIs that needs updating for llvm19
  • Update refprune pass and its tests

TODO:

  • run with remarks feature and pass timer features have to be added

yashssh and others added 20 commits August 22, 2024 12:43
Add todo for future passes, simplify pass registeration in newpassmanager.py

add dot printer passes

Add hooks for most of the passes currently supported by legacy pm

edit
Drop support for typed pointers
Drop support for Legacy pass managers
Update some APIs
- Delete transforms.{py|cpp}
- Drop support for llvm version < 17
- Refactoring
- Fix some deprecated APIs
- Disable some refprune tests, either the tests or the pass itself needs updating for llvm18
- Update few APIs
Add todo for future passes, simplify pass registeration in newpassmanager.py

Add dot printer passes

Add hooks for most of the passes currently supported by legacy pm

Fix working of new APIs with llvm16
@gmarkall
Copy link
Member

gmarkall commented Nov 5, 2024

/azp run

Copy link
Contributor

Azure Pipelines successfully started running 1 pipeline(s).

auto context = LLVMGetGlobalContext();
LLVMContextSetOpaquePointers(context, enableOpaquePointers);
// Opaque pointer support dropped https://reviews.llvm.org/D139441
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe you meant "Typed pointer support dropped"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are right, thanks for spotting! Will update :)

LLVMContextRef context = LLVMContextCreate();
LLVMContextSetOpaquePointers(context, enableOpaquePointers);
// Opaque pointer support dropped https://reviews.llvm.org/D139441
Copy link
Contributor

Choose a reason for hiding this comment

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

(Same as above.)

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

Successfully merging this pull request may close these issues.

3 participants