Repository navigation
Releases
Releases · hez2010/Cilica
v0.20.8-preview
Support running the optimizer with newer .NET SDKs by allowing runtime roll-forward to a higher major version.
v0.20.7-preview
- Reuse eligible evaluation-stack values during CIL generation to reduce unnecessary local loads and stores.
- Preserve GC reference lifetimes and initialization of dynamically allocated stack memory.
- Apply explicit field offsets only to instance fields when importing, analyzing, and writing assemblies.
Packages: Cilica.Core and Cilica.OptimizerTask.
v0.20.6-preview
- Optimize eligible reflection metadata construction and constructor invocation while preserving metadata identity and runtime behavior.
- Fold known array, pointer, byref, function-pointer, and generic type construction while retaining runtime validation and trimming dependencies.
- Preserve reflected generic method definitions and runtime type identity in shared generic contexts.
- The repository solution is now
Cilica.slnx.
Packages: Cilica.Core and Cilica.OptimizerTask.
v0.20.5-preview
- Expand reflection folding to cover eligible inherited and signature-based lookups, numeric and nullable conversions,
ref/outarguments andrefreturns, indexers, literal fields, method handles, and compatible delegates. - Preserve initialization, exception handling, replaceable dependencies, and finalizable delegate lifetimes when optimizing reflection.
- Improve performance when constructing IR instructions with many operands, including phi nodes. Thanks to @P4suta for #4.
- Fix IR operand rewrites for covariant arrays and reduce sparse operand-buffer storage.
Packages: Cilica.Core and Cilica.OptimizerTask.
v0.20.4-preview
- Devirtualize eligible open-instance delegate invocations when their targets are known.
- Allow inlining of eligible methods from selected .NET runtime types and runtime methods marked
AggressiveInlining.
Packages: Cilica.Core and Cilica.OptimizerTask.
v0.20.3-preview
- Add
--nativeaot-compatfor CLI use; the MSBuild task enables it automatically whenPublishAot=true. - Preserve original assemblies and matching symbols when post-processing optimization fails, and emit warning
CILICA0001. - Improve optimization of reflection lookups whose results are known.
- Avoid additional inlining and scalar replacement during late cleanup.
Packages: Cilica.Core and Cilica.OptimizerTask.
v0.20.2-preview
- Add
CompilationSettings.EnableScalarReplacement, enabled by default, to control scalar replacement independently of general method inlining. - Honor inlining and scalar-replacement settings across optimizer passes.
- Optimize reflection involving property accessor methods.
- Revisit eligible inlining and scalar replacement after simplification to expose additional optimizations.
Packages: Cilica.Core and Cilica.OptimizerTask.
v0.20.1-preview
- Optimize eligible reflection calls involving generic types and methods while preserving virtual binding.
- Extend reflection folding to eligible non-public members.
- Balance method inlining opportunities against code growth.
Packages: Cilica.Core and Cilica.OptimizerTask.
v0.20.0-preview
- Optimize eligible reflection operations on known fields, methods, and properties while preserving runtime behavior.
- Optimize reflection-based delegate creation and function-pointer lookup when targets can be resolved.
- Improve type and module initializer checks.
Packages: Cilica.Core and Cilica.OptimizerTask.
v0.19.1-preview
- Preserve additional methods needed by Cilica when publishing trimmed applications.
- Avoid inlining methods from
System.Private.CoreLiband retain reflection property calls needed for trimming. - The MSBuild task ignores optimizer process exit codes.
Packages: Cilica.Core and Cilica.OptimizerTask.