v1.2.4.12
github-actions
released this
01 Jun 16:55
·
210 commits
to main
since this release
What's Changed
Breaking Changes 🛠
- Replace IR::getBitType with IR::Type_Bits::get. by @fruffy in #4669
- Make the new operator protected for some IR types. by @fruffy in #4670
P4 Specification Implementation
- [#4656] Explicitly delay constant folding of only action enum
IR::SwitchCase
label
expressions, instead of delaying constant folding of allIR::Mux
expressions by @kfcripps in #4657 - Changes for for loops by @ChrisDodd in #4562
Changes to the Compiler Core
- Use check_include_file_cxx instead of check_include_file to find mm_malloc.h by @fruffy in #4649
- Move IRUtils Literal get functions to the respective IR members. Add stringliteral get function. by @fruffy in #4623
- Improve error message when shifting int by non-const by @vlstill in #4653
- Fixes to lib/hash and lib/big_int_util. by @fruffy in #4655
- Link against the Boehm-Demers-Weiser Garbage Collector using FetchContent. by @fruffy in #3930
- Explicitly include hash.hpp for Ubuntu 18.04. by @fruffy in #4664
- RemoveUnusedDeclarations - make helpers protected by @ChrisDodd in #4668
- Generalization & minor refactoring in RenameMap by @vlstill in #4677
- Add string_view and string conversion operators and functions to cstring by @vlstill in #4676
- Facilitate inheritance from RenameSymbols pass, deduplicate code by @vlstill in #4682
- Set type for LAnd, LOr, LNot to be Type_Boolean if unknown. by @fruffy in #4612
- Improve
BUG_CHECK
internals by @asl in #4678 - Workaround for gcc-11.4/draft 2x spec flaw by @ChrisDodd in #4679
- irgen: Generate explicit instantiations by @ChrisDodd in #4681
Changes to the Control Plane
- Add support for new platform property annotations for P4Runtime. by @jonathan-dilorenzo in #4611
Changes to the eBPF Back Ends
- Fix missing declaration of custom externs in the generated eBPF/uBPF header file. by @fruffy in #4644
Changes to the TC Back End
- Support for Register Extern in P4TC by @komaljai in #4671
- Added changes for default hit actions for tc backend by @Sosutha in #4673
- Fix extern pipeline name in template file by @komaljai in #4675
Changes to the P4Tools Back End
Other Changes
- P4Tc - Change parameter for kfunc 'bpf_p4tc_entry_create_on_miss' by @komaljai in #4637
- Add support for a clang-tidy linter to CMake. Add a files utility function to P4CUtils.cmake. by @fruffy in #4254
- Only emit the warning on EXPORT_COMPILE_COMMANDS when there are clang-tidy files to lint. by @fruffy in #4665
- Aggressively clean up the Protobuf CMake dependency. by @fruffy in #4543
- Remove no-longer-used *.p4info.txt files by @jafingerhut in #4687
- Add a release template to the compiler. by @fruffy in #4692
- Automated Release v1.2.4.12 by @github-actions in #4699
Full Changelog: v1.2.4.11...v1.2.4.12