Closed ausbin closed 1 month ago
Just stumbled upon this: https://github.com/qir-alliance/pyqir/blob/c02430a5d4f566425f6112576d4109071011ea66/qirlib/src/types.rs#L43. That will need to get fixed too
I'm getting the vibe that it is not helpful for me to continue working on this, closing
Rough work on upgrading to LLVM 18.1.6 (#224). This builds, but the tests definitely do not pass (some segfault, actually). So this should not be merged into
main
in its current state, but I'm putting this up if it saves someone some time.I built this with the following in
pyqir/
:(I did not use the PowerShell build script.)
Remaining Problems
If y'all are interested, I can continue working on this and get the tests to pass.
One thing that seems particularly nasty at the moment is how to handle
Builder.call()
. I can think of two options:Builder.call()
to also take aType
(looks like that already exists intypes.rs
). This is backwards incompatibleValue
to also hold anLLVMType
. (This may quickly become burdensome to support in future usecases, but it would probably be a simpler user-facing API)What do y'all think? And are there plans to upgrade LLVM at all?