Skip to content

Comments

upstream sync#2

Merged
feds01 merged 14 commits intomasterfrom
upstream-sync
Dec 20, 2024
Merged

upstream sync#2
feds01 merged 14 commits intomasterfrom
upstream-sync

Conversation

@feds01
Copy link
Collaborator

@feds01 feds01 commented Dec 20, 2024

TheDan64 and others added 14 commits July 27, 2024 10:22
… with other libraries (TheDan64#518)

* expose raw functions

* Remove unsafe

---------

Co-authored-by: Dan Kolsoi <ThaDan64@gmail.com>
…alue (TheDan64#506)

* Provide get_gep_source_element_type and InstructionValue -> CallSiteValue

* restrict new api to llvm 14+

* restrict test to llvm versions

* add llvm14 also for test

* temporarily remove callsite test

* Revert "temporarily remove callsite test"

This reverts commit baaa982.

* Similar to other value types, provide `is_const`  method for StructValue

* build_gep is only available in LLVM 15+

---------

Co-authored-by: Dan Kolsoi <ThaDan64@gmail.com>
* workflows: test against LLVM 18.1

* workflows: remove testing on LLVM < 7.1.

* workflows: use ubuntu-20.04 for llvm 18

* workflows: use install-llvm-action@v1 for llvm <= 7

* workflows: build docs against LLVM 18
…ations (TheDan64#528)

Co-authored-by: Dan Kolsoi <ThaDan64@gmail.com>
Co-authored-by: Dan Kolsoi <ThaDan64@gmail.com>
* LLVMBuildBinOp

* fix lifetime
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
* feat: add scalable vector support

* test: add some scalable vector

* feat: add separate scalable vector type and value

Introduce `VectorBaseValue` trait for both fixed and scalable vector values.

Add type, value and builder tests for scalable vector.

Revise min. LLVM version from 11 to 12 due to llvm_sys.

* fix: various bugs

fix: remove always false functions

style: cargo fmt

fix: rename doc comments

fix: remove leftover test

fix: add conditional llvm versions to type kind variant

fix: change to doctest to ignore

fix: remove llvm 11 from scalable vector type test

---------

Co-authored-by: Dan Kolsoi <ThaDan64@gmail.com>
@feds01 feds01 self-assigned this Dec 20, 2024
@feds01 feds01 merged commit 0e93c46 into master Dec 20, 2024
36 checks passed
@feds01 feds01 deleted the upstream-sync branch December 20, 2024 20:31
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.

CI segfaults on older LLVM versions

10 participants