Skip to content

Enable constant folding for Arm64 SVE #118579

@a74nh

Description

@a74nh

CoreCLR is able to constant fold standard intrinsics. Eg AdvSimd.Add can be constant folded as a standard add node.

This needs enabling for Arm64 SVE.

Firstly, add SVE nodes to the switch in GetOperForHWIntrinsicId(), then fix all the resulting issues.

See discussions #117313 (comment) and #117313 (comment)

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions