Skip to content

[mono] iOS - Size reduction: optimize corelib runtime type checks in generic functions #54849

@imhameed

Description

@imhameed

Seen while investigating size differences between legacy Mono and netcore Mono when used for iOS. Functions that call ThrowHelper.ThrowForUnsupportedNumericVectorBaseType are a great example of what goes wrong; with both mini and LLVM we fail to elide impossible branches and we end up repeatedly generating kilobytes of noisy dead code across several functions.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions