forked from TheDan64/inkwell
-
Notifications
You must be signed in to change notification settings - Fork 0
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
upstream sync #2
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Collaborator
feds01
commented
Dec 20, 2024
•
edited
Loading
edited
- Marked const_float_from_string as unsafe. Fixes CI segfaults on older LLVM versions TheDan64/inkwell#513 (Marked const_float_from_string as unsafe. Fixes #513 TheDan64/inkwell#519)
- Fix memory leak caused by LLVMVerifyModule function call (Fix memory leak caused by LLVMVerifyModule function call TheDan64/inkwell#507)
- expose functions for working with LLVMContextRef for interoperability with other libraries (expose functions for working with LLVMContextRef for interoperability with other libraries TheDan64/inkwell#518)
- Provide get_gep_source_element_type and InstructionValue -> CallSiteValue (Provide get_gep_source_element_type and InstructionValue -> CallSiteValue TheDan64/inkwell#506)
- Prepare for inkwell 0.5.0
- workflows: test against LLVM 18.1 (workflows: test against LLVM 18.1 TheDan64/inkwell#525)
- module: make write_bitcode_to_path accept more general path representations (module: make write_bitcode_to_path accept more general path representations TheDan64/inkwell#528)
- Fix null-terminated strings in LLVMSetValueName2 and LLVMMDStringInContext (Fix null-terminated strings in LLVMSetValueName2 and LLVMMDStringInContext TheDan64/inkwell#534)
- Implement safe API for operand bundles. (Implement safe API for operand bundles. TheDan64/inkwell#524)
- wrapper for LLVMBuildBinOp (wrapper for LLVMBuildBinOp TheDan64/inkwell#539)
- bump llvm-sys (bump llvm-sys TheDan64/inkwell#549)
- Add scalable vector (Add scalable vector TheDan64/inkwell#542)
- Revert "Add support for LLVM 18.1"
Co-authored-by: Dan Kolsoi <ThaDan64@gmail.com>
… 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>
This reverts commit 80473af.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.