Skip to content

[RyuJIT] Further cleanup and hardening of assertion prop #6395

@CarolEidt

Description

@CarolEidt

With my PR dotnet/coreclr#6484 I fixed an error where out-of-range assertions were being used.
Part of the fix was to initialize the sets to a "valid full" set that includes only valid indices, instead of apFull, which has all possible bits set. It would be good to remove both apFull and optNewFullAssertSet(), but the former is used in morph. Those uses could probably be modified in some way to avoid using apFull.
Another part of the fix was to add more validation to the checking of AssertionDscs, and to call that (in DEBUG) when an assertion is retrieved. It would be good to add a check that the value numbers are valid.

category:correctness
theme:assertion-prop
skill-level:expert
cost:small
impact:small

Metadata

Metadata

Assignees

No one assigned

    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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions