Skip to content

Optimize SSA phi construction - #281

Open
sbillig wants to merge 2 commits into
fe-lang:mainfrom
sbillig:perf
Open

Optimize SSA phi construction#281
sbillig wants to merge 2 commits into
fe-lang:mainfrom
sbillig:perf

Conversation

@sbillig

@sbillig sbillig commented May 7, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0b55eb129c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread crates/ir/src/dfg.rs Outdated
@sbillig

sbillig commented May 7, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +140 to +142
for (value, _) in &mut args {
*value = self.resolve_alias(*value);
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agent:

This pass is now load-bearing: it repairs the aliases created while args sat in
the local buffer untracked, where the old code's full-layout scan used to. Worth
a comment saying so — and maybe a debug-only check, since erase_inst catches
extra stale users but not missing ones, so a future untracked mutation would
fail silently.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants