Skip to content

Add more flexible method for specifying jit instrinsics #8882

@AndyAyersMS

Description

@AndyAyersMS

Per discussion in dotnet/coreclr#13748.

Add ability to mark a method with an [Intrinsic] attribute and pass this through to the jit via the method flags. Jit can then query back to the EE and match on class/name to figure out exactly what intrinsic this is, rather than using the old system of predefined intrinsic IDs.

Will initially use this for Enum.HasFlag support.

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIenhancementProduct code improvement that does NOT require public API changes/additions

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions