dotnet/runtime

Perform simple SIMD transformations where applicable

Open

#82,366 opened on Feb 19, 2023

View on GitHub
 (1 comment) (1 reaction) (0 assignees)C# (5,445 forks)batch import
area-CodeGen-coreclrhelp wanted

Repository metrics

Stars
 (17,886 stars)
PR merge metrics
 (Avg merge 12d 11h) (661 merged PRs in 30d)

Description

As part of the more general support for basic constant folding around SIMD types, we should ensure that transforms which exist for scalar code are mirrored for the SIMD scenario as well.

Consider for example vector * 2 which can be translated to vector + vector instead.

Contributor guide