feat!: Upgrade LLVM code in tket-qsystem and qis-compiler#1422
feat!: Upgrade LLVM code in tket-qsystem and qis-compiler#1422
Conversation
|
This PR contains breaking changes to the public Rust API. cargo-semver-checks summary |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1422 +/- ##
==========================================
- Coverage 79.65% 79.54% -0.11%
==========================================
Files 155 155
Lines 20335 19943 -392
Branches 19345 18953 -392
==========================================
- Hits 16197 15864 -333
+ Misses 3180 3159 -21
+ Partials 958 920 -38
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Note that devenv.nix in this repo and the hugr repo will need to be updated to provide the newer LLVM and its path in env vars for local development. If that's already been done, ignore this - the file list is pretty huge. I'm happy to do that change otherwise. |
I haven't done this, good catch. I'd appreciate if you make the change - better if it's tested by a devenv user anyway. |
Cargo.lock
Outdated
| version = "0.25.6" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "b6baee3cc2fe4d7c5635a630341e28237f12a8e5beef31b5aaaebe93bc9ba90a" | ||
| source = "git+https://github.com/quantinuum/hugr?branch=george%2Fllvmup#7d8587c64086ea5a2a4486b23ef7b73ab2c44040" |
There was a problem hiding this comment.
I'm not sure that we want to be depending on these branches from main here. Should we wait for an updated release of hugr?
There was a problem hiding this comment.
Yes, my plan is to release hugr first and change these to point to the release before merging.
There was a problem hiding this comment.
But I hope to merge the HUGR PR + this PR + the internal PR in quick succession, hence putting them up for review together.
|
Have given it a superficial review (and ignored all the snaps assuming those changes make sense). LGTM! |
and update the path for ComposablePass imports.
|
@aborgna-q This should be ready for you to merge into the release branch. Notes:
Still a few bugs. In particular, the one about failure to monomorphize |
BREAKING CHANGE: The hugr-llvm LLVM version is being upgraded to 21.1, and code that depends on it here needs to be updated as well. This also includes an MSRV change to 1.91 to match hugr. See the hugr PR for details.
Closes #1421