Skip to content

JIT: implement type checker #12121

Open
Open

Description

@AndyAyersMS

There are a couple categories of issues in the JIT IR that could have been caught earlier if we ran some kind of type checking phase:

We might also want to restructure the early part of the jit so we can run checks sooner...

category:implementation
theme:ir
skill-level:expert
cost:extra-large

Activity

  1. mikedn commented on Feb 25, 2019

    @mikedn
    Contributor

    We might also want to restructure the early part of the jit so we can run checks sooner...

    What exactly do you have in mind?

  2. AndyAyersMS commented on Feb 25, 2019

    @AndyAyersMS
    MemberAuthor

    Thinks like adopting Phases everywhere so there's common place to hang begin/end activities like dumping and checking and such.

  3. transferred this issue fromdotnet/coreclron Jan 31, 2020
  4. added this to the Future milestone on Jan 31, 2020
  5. added
    JitUntriaged
    on Oct 28, 2020
  6. AndyAyersMS commented on Jun 7, 2026

    @AndyAyersMS
    MemberAuthor

    Note

    This comment was drafted with assistance from GitHub Copilot.

    Cross-ref: the "mismatched uses of byrefs / native ints" bullet (originally pointing at #19257) is now also tracked in #10821, which has a concrete repro, recent state, and links to the prior fix attempts (#48675, #56192) and the disabled emitter assert. The other two bullets here (short integer types, invalid TYP_UINT/TYP_ULONG) remain in scope for this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    JitUntriagedarea-CodeGen-coreclr

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions