What's Changed
Breaking Changes 🛠
- Add
DeclarationLookup*
parameter toLocalCopyPropagation
policy
declaration. UseDoLocalCopyPropagation
instead ofrefMap
inLocalCopyPropagation
policy
. by @kfcripps in #5307 - Global rename Type_Stack -> Type_Array by @ChrisDodd in #5337
Changes to the Compiler Core
- Propagate source info to new
StructExpression
s by @kfcripps in #5309 - Code Metrics Collection by @stan-leetasi in #5250
- More side effects cleanups by @ChrisDodd in #5235
- Improved check of entries in key-less tables by @dmatousek in #5310
- Do not emit a warning when a
switch
expression is constant by @kfcripps in #5314 - [#5254] Emit error message for duplicate
switch
case labels by @kfcripps in #5316 - Fixes and improvements for loop unrolling by @ChrisDodd in #5312
- Miscellaneous minor contributions from AMD backend by @kfcripps in #5321
- Fix copy & paste typo in flattenStructExpression by @asl in #5322
- Make useful driver arguments available on all targets by @ChrisDodd in #5328
- Compilation fixes for C++20. by @fruffy in #5278
- [#5331] Propagate source info when substituting parameters during inlining by @kfcripps in #5333
- [#5335] Properly handle default-initialized stacks of non-header types. by @kfcripps in #5336
- Avoid crash after error in typechecking by @ChrisDodd in #5332
- [#5331] Do not emit
mismatch
oroverflow
warnings for explicit casts by @kfcripps in #5334
Changes to the P4Tools Back End
- [P4Testgen] Add global table hit variable to testgen table stepper by @dparker01 in #5324
Changes to the Tofino Back End
Other Changes
- Upgrade
clang-format
to v18.1.8 by @kfcripps in #5325 - Automated Release v1.2.5.8 by @github-actions in #5339
New Contributors
- @dparker01 made their first contribution in #5324
Full Changelog: v1.2.5.7...v1.2.5.8