Releases: TheDan64/inkwell
Releases Β· TheDan64/inkwell
0.8.0
What's Changed
- Add llvm21-1 tests by @Phyyl in #631
- Add conditonal for removed LLVMConstMul, LLVMConstNSWMul and LLVMConstNUWMul in 21.1 by @Phyyl in #628
- Adds debug location methods to InstructionValue. by @ErisianArchitect in #632
- add support for enumeration type and enumerators by @abroooo in #623
- feat: implement get_alignment for BasicType trait by @Karesis in #639
- Enable bf16 Types by @averyparr in #643
- Add append existing basic block method to
FunctionValueimpl by @marxin in #645 - CI: drop install LLVM <= 7 by @marxin in #644
- Remove support for LLVM 8, 9, 10. Update version numbers by @TheDan64 in #647
New Contributors
- @Phyyl made their first contribution in #631
- @abroooo made their first contribution in #623
- @Karesis made their first contribution in #639
- @averyparr made their first contribution in #643
- @marxin made their first contribution in #645
Full Changelog: 0.7.1...0.8.0
0.7.1
What's Changed
- Re-export enums that replaced
Either. by @ErisianArchitect in #627
Full Changelog: 0.7.0...0.7.1
0.7.0
What's Changed
- Update thiserror requirement from 1.0.48 to 2.0.11 by @dependabot[bot] in #564
- chore: fix warning of elided_lifetimes_in_paths in examples by @hsqStephenZhang in #590
- Add
get_bit_widthmethod for float type by @my4ng in #589 - Preliminary LLVM 19/20 support by @stevefan1999-personal in #557
- Removes uneccesary less-than 64-bit check on 32-bit value. by @ErisianArchitect in #593
- Removed unnecessary checks from is_alignment_ok by @ErisianArchitect in #596
- More specific errors. by @ErisianArchitect in #598
- feat: make BasicBlock::new publicly accessible by @fuqiuluo in #601
- Fix comment typos in
test_conversion_to_pointer_valueby @qlpoynter in #605 - All tests passing on Windows. by @ErisianArchitect in #608
- Support LLVMGetIndices by @namse in #615
- Get AtomicRMWBinOp by @namse in #616
- Removes Either dependency. by @ErisianArchitect in #610
- Initial support to LLVM 21 by @kvpanch in #617
- Add BasicValueEnum::is_const() Method by @tahadostifam in #620
New Contributors
- @hsqStephenZhang made their first contribution in #590
- @stevefan1999-personal made their first contribution in #557
- @ErisianArchitect made their first contribution in #593
- @fuqiuluo made their first contribution in #601
- @qlpoynter made their first contribution in #605
- @namse made their first contribution in #615
- @kvpanch made their first contribution in #617
- @tahadostifam made their first contribution in #620
Full Changelog: 0.6.0...0.7.0
0.6.0
What's Changed
- workflows: test against LLVM 18.1 by @airwoodix in #525
- module: make write_bitcode_to_path accept more general path representations by @airwoodix in #528
- Fix null-terminated strings in LLVMSetValueName2 and LLVMMDStringInContext by @vosen in #534
- Implement safe API for operand bundles. by @airwoodix in #524
- wrapper for LLVMBuildBinOp by @NaC-L in #539
- bump llvm-sys by @xermicus in #549
- Add scalable vector by @my4ng in #542
- Reset
positionedinBuilder::clear_insertion_positionby @Qwox0 in #561 - Add create_mcjit_execution_engine_with_memory_manager for custom MCJIT memory management by @ktanaka101 in #566
- docs: fix warnings and typos by @airwoodix in #574
- FunctionType::get_param_types: support metadata type by @airwoodix in #573
- CallSiteValue::get_called_fn_value: return None on indirect calls by @airwoodix in #572
- workflows: run rustfmt check, fix typos check by @airwoodix in #575
- Implement feature for disabling opaque pointers on LLVM 15 and 16 by @Derppening in #570
- fix: proper string constant handling by @CertainLach in #577
is_conditionalis unsound by @wtdcode in #583- Remove support for LLVM4-7 by @TheDan64 in #587
- Report user's call location in case of
panicininto_*_valuetype of functions by @rakivo in #584
New Contributors
- @airwoodix made their first contribution in #525
- @vosen made their first contribution in #534
- @NaC-L made their first contribution in #539
- @my4ng made their first contribution in #542
- @Qwox0 made their first contribution in #561
- @ktanaka101 made their first contribution in #566
- @Derppening made their first contribution in #570
- @CertainLach made their first contribution in #577
- @wtdcode made their first contribution in #583
- @rakivo made their first contribution in #584
Full Changelog: 0.5.0...0.6.0
0.5.0
What's Changed
- Add get_name to values by @SUPERCILEX in #469
- Fix links in kaleidoscope by @qartik in #470
- Expose
pub(crate) fn newconstructors for value types by @corbanvilla in #457 - Make ContextRef copyable by @gavrilikhin-d in #473
- Add serde derives for some config datastructures by @xermicus in #480
- WIP: Support LLVM 18 by @xermicus in #483
- Fix default target test by @gavrilikhin-d in #474
- renamed bitcast to bit_cast by @Anton-4 in #486
- Add opaque pointers by @xlambein in #468
- Update
llvm_versionsmacro syntax to match Rust ranges by @DaniPopes in #493 - Fix rustc and clippy warnings by @DaniPopes in #492
- Fix compilation on MacOS by @BigBadE in #498
- Marked const_float_from_string as unsafe. Fixes #513 by @TheDan64 in #519
- Fix memory leak caused by LLVMVerifyModule function call by @antonbaliasnikov in #507
- expose functions for working with LLVMContextRef for interoperability with other libraries by @gavrilikhin-d in #518
- Provide get_gep_source_element_type and InstructionValue -> CallSiteValue by @vaivaswatha in #506
New Contributors
- @qartik made their first contribution in #470
- @corbanvilla made their first contribution in #457
- @xermicus made their first contribution in #480
- @Anton-4 made their first contribution in #486
- @xlambein made their first contribution in #468
- @DaniPopes made their first contribution in #493
- @BigBadE made their first contribution in #498
- @antonbaliasnikov made their first contribution in #507
- @vaivaswatha made their first contribution in #506
Full Changelog: 0.4.0...0.5.0
0.4.0
What's Changed
- Expose some LLVMValueRef constructors by @SUPERCILEX in #463
- Make llvm_sys a public export by @SUPERCILEX in #465
- Add set_field_at_index for llvm-plugin by @SUPERCILEX in #464
- ci: build kaleidoscope in ci and revise example docs by @xieyuschen in #466
- Add even more iterators by @SUPERCILEX in #462
New Contributors
- @xieyuschen made their first contribution in #466
Full Changelog: 0.3.0...0.4.0
0.3.0
What's Changed
- Find a InstructionValue based on its name by @Faouzi1406 in #416
- fix: allow call of
set_bodyon none opaque structs by @Chronostasys in #418 - Add support for LoongArch by @heiher in #420
- add test for inlinealways function attribute by @folkertdev in #426
- Add llvm-sys linkage features by @nohenry in #428
- Update README.md with llvm 16 support by @Pat-Lafon in #429
- Add methods for creating/checking for
poisonvalues. by @tylanphear in #431 - Add runtime checks for builder position by @EricLBuehler in #436
- Replace parking_lot with the standard library by @yorickpeterse in #442
- Add
typosto CI by @EricLBuehler in #441 - Change signature of
load_library_permanentlyby @gavrilikhin-d in #445 - Added get_field_at_index and count_fields to struct values by @tfzee in #451
- Adding get_allocated_type, is_terminator and is_conditional to InstructionValue by @tfzee in #455
- Update Kaleidoscope example to LLVM 15 and 16 by @FnControlOption in #459
- Support LLVM 17 by @SUPERCILEX in #460
- Add missing iterators by @SUPERCILEX in #461
New Contributors
- @Faouzi1406 made their first contribution in #416
- @Chronostasys made their first contribution in #418
- @heiher made their first contribution in #420
- @nohenry made their first contribution in #428
- @tylanphear made their first contribution in #431
- @EricLBuehler made their first contribution in #436
- @yorickpeterse made their first contribution in #442
- @tfzee made their first contribution in #451
- @FnControlOption made their first contribution in #459
- @SUPERCILEX made their first contribution in #460
Full Changelog: 0.2.0...0.3.0
0.2.0
What's Changed
- Add get_globals by @Dev380 in #404
- Syn2 by @Pat-Lafon in #409
- Support LLVM 16 by @FawazTirmizi in #407
New Contributors
- @Dev380 made their first contribution in #404
- @FawazTirmizi made their first contribution in #407
Full Changelog: 0.1.1...0.2.0 https://github.com/TheDan64/inkwell/blob/master/CHANGELOG.md#020---2023-05-04