Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Phyyl
Copy link
Contributor

@Phyyl Phyyl commented Nov 20, 2025

Description

Adds tests for llvm21-1 and adapts one failing test to reflect LLVM api changes.

The test_get_next_use test can't be tested with constant data in llvm21-1 and over. According to the release notes: It is no longer permitted to inspect the uses of ConstantData. Use count APIs will behave as if they have no uses (i.e. use_empty() is always true). (Link). To adapt the test, I switched to using an alloca + store + load, but only conditionally for feature llvm21-1.

Related Issue

#630

How This Has Been Tested

Ran tests for all llvm versions as well as linting test on my fork.

Option<Breaking Changes>

None

Checklist

@TheDan64 TheDan64 self-requested a review November 21, 2025 23:36
Copy link
Owner

@TheDan64 TheDan64 left a comment

Choose a reason for hiding this comment

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

Thanks!!

@TheDan64 TheDan64 merged commit 122ce3d into TheDan64:master Nov 21, 2025
16 checks passed
@Phyyl Phyyl deleted the phyyl/ci-test-llvm21 branch November 22, 2025 05:24
@kvpanch
Copy link
Contributor

kvpanch commented Dec 18, 2025

@TheDan64 is it possible to release a new version of the inkwell that includes that fix ?

@TheDan64
Copy link
Owner

We'll likely do a release after the holidays. Trying to see if we can get some of the active PRs merged first.

@kvpanch
Copy link
Contributor

kvpanch commented Jan 8, 2026

We'll likely do a release after the holidays. Trying to see if we can get some of the active PRs merged first.

@TheDan64 are there any PRs now that a blocking release of inkwell ?

@TheDan64
Copy link
Owner

TheDan64 commented Jan 8, 2026

You can follow the remaining issues for the release here: https://github.com/TheDan64/inkwell/milestone/3

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.

3 participants