Skip to content

JIT: Remove dead/redundant GTF_* flags - #135072

Merged
EgorBo merged 1 commit into
dotnet:mainfrom
EgorBo:remove-dead-gtf-flags
Oct 2, 2026
Merged

EgorBo merged 1 commit into
dotnet:mainfrom
EgorBo:remove-dead-gtf-flags

Conversation

@EgorBo

@EgorBo EgorBo commented Oct 1, 2026

Copy link
Copy Markdown
Member

Removes GenTree flags that are dead or redundant:

  • GTF_ICON_CIDMID_HDL – never set or read.
  • GTF_ARRLEN_NONFAULTING, GTF_MDARRLEN_NONFAULTING, GTF_MDARRLOWERBOUND_NONFAULTING – aliases of GTF_IND_NONFAULTING, only referenced by static_asserts.
  • GTF_DEBUG_VAR_CSE_REF – debug-only, only read by the JitDump flag printer.
  • GTF_CALL_M_STACK_ARRAY – redundant with the WellKnownArg::StackArrayLocal arg added at the same time; VN now checks the arg (helper expansion already does).
  • GTF_BOX_VALUE – set on every GT_BOX node, so IsBoxedValue() is just OperIs(GT_BOX).

No asm diffs expected.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 4da926d5-0c75-45b4-b175-a69def43db37
@github-actions github-actions Bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Oct 1, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 5 pipeline(s).
11 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

@EgorBo
EgorBo merged commit d6299e4 into dotnet:main Oct 2, 2026
138 of 140 checks passed
@EgorBo
EgorBo deleted the remove-dead-gtf-flags branch October 2, 2026 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants