Skip to content

Releases

v0.20.8-preview

v0.20.8-preview Pre-release
Pre-release

Choose a tag to compare

@hez2010 hez2010 released this 12 Nov 17:01

Support running the optimizer with newer .NET SDKs by allowing runtime roll-forward to a higher major version.

v0.20.7-preview

v0.20.7-preview Pre-release
Pre-release

Choose a tag to compare

@hez2010 hez2010 released this 12 Nov 12:52
  • 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

v0.20.6-preview Pre-release
Pre-release

Choose a tag to compare

@hez2010 hez2010 released this 12 Nov 01:38
  • 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

v0.20.5-preview Pre-release
Pre-release

Choose a tag to compare

@hez2010 hez2010 released this 11 Nov 11:57
f2f7a8c
  • Expand reflection folding to cover eligible inherited and signature-based lookups, numeric and nullable conversions, ref/out arguments and ref returns, 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

v0.20.4-preview Pre-release
Pre-release

Choose a tag to compare

@hez2010 hez2010 released this 10 Nov 12:27
  • 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

v0.20.3-preview Pre-release
Pre-release

Choose a tag to compare

@hez2010 hez2010 released this 10 Nov 06:34
  • Add --nativeaot-compat for CLI use; the MSBuild task enables it automatically when PublishAot=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

v0.20.2-preview Pre-release
Pre-release

Choose a tag to compare

@hez2010 hez2010 released this 10 Nov 04:36
  • 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

v0.20.1-preview Pre-release
Pre-release

Choose a tag to compare

@hez2010 hez2010 released this 09 Nov 18:28
  • 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

v0.20.0-preview Pre-release
Pre-release

Choose a tag to compare

@hez2010 hez2010 released this 09 Nov 09:54
b413588
  • 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

v0.19.1-preview Pre-release
Pre-release

Choose a tag to compare

@hez2010 hez2010 released this 08 Nov 18:17
  • Preserve additional methods needed by Cilica when publishing trimmed applications.
  • Avoid inlining methods from System.Private.CoreLib and retain reflection property calls needed for trimming.
  • The MSBuild task ignores optimizer process exit codes.

Packages: Cilica.Core and Cilica.OptimizerTask.