Skip to content

JIT: optFoldNullCheck missed cases #12472

@AndyAyersMS

Description

@AndyAyersMS

optFoldNullCheck's pattern match misses some cases.

See dotnet/coreclr#23850 (comment) for one such example (though perhaps that could also be addressed by better handling of commas in add trees).

Will add others as I run across them.

category:cq
theme:basic-cq
skill-level:intermediate
cost:small

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

Relationships

None yet

Development

No branches or pull requests

Issue actions