GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Avoid query cycles in DataflowConstProp by ashivaram23 · Pull Request #155379 · rust-lang/rust

Conversation

@ashivaram23

@ashivaram23 ashivaram23 commented Apr 16, 2026 •
edited by rustbot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Fixes #155376 by skipping coroutines.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@rustbot

rustbot commented Apr 16, 2026

Copy link
Copy Markdown
Collaborator

Some changes occurred to MIR optimizations

cc @rust-lang/wg-mir-opt

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Apr 16, 2026
@rustbot rustbot assigned jackh726 Apr 16, 2026
@rustbot

rustbot commented Apr 16, 2026

Copy link
Copy Markdown
Collaborator

r? @jackh726

rustbot has assigned @jackh726.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler
  • compiler expanded to 72 candidates
  • Random selection from 18 candidates
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jackh726

jackh726 commented Apr 23, 2026

Copy link
Copy Markdown
Member

r? mir-opt

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rustbot rustbot assigned saethlin and unassigned jackh726 Apr 23, 2026
saethlin
saethlin reviewed Apr 24, 2026
View reviewed changes
Comment thread tests/ui/dataflow_const_prop/recursive-async.rs Resolved

Uh oh!

There was an error while loading. Please reload this page.

@saethlin

saethlin commented Apr 24, 2026

Copy link
Copy Markdown
Member

@bors squash

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rust-bors

This comment has been minimized.

Sign in to view
@saethlin
Avoid query cycles in DataflowConstProp
4b1f392
* Avoid query cycles in DataflowConstProp
* Add -Zmir-opt-level=0 to the test
@rust-bors

rust-bors Bot commented Apr 24, 2026

Copy link
Copy Markdown
Contributor

🔨 2 commits were squashed into 4b1f392.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rust-bors
rust-bors Bot force-pushed the mir-query-cycle branch from 431cba0 to 4b1f392 Compare April 24, 2026 03:04
saethlin
saethlin approved these changes Apr 24, 2026
View reviewed changes
@saethlin

saethlin commented Apr 24, 2026

Copy link
Copy Markdown
Member

GitHub UI had a weird message about requiring an approval after the squash. Very strange.

@ashivaram23 Thanks for the fix. I'm a bit surprised we made it this long without it!

@bors r+ rollup

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rust-bors

rust-bors Bot commented Apr 24, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 4b1f392 has been approved by saethlin

It is now in the queue for this repository.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 24, 2026
jhpratt added a commit to jhpratt/rust that referenced this pull request Apr 24, 2026
@jhpratt
Rollup merge of rust-lang#155379 - ashivaram23:mir-query-cycle, r=sae…
b3a419d
…thlin

Avoid query cycles in DataflowConstProp

Fixes rust-lang#155376 by skipping coroutines.
This was referenced Apr 24, 2026
Rollup of 5 pull requests #155718
Closed
Rollup of 9 pull requests #155720
Merged
rust-bors Bot pushed a commit that referenced this pull request Apr 24, 2026
@bors
Auto merge of #155720 - jhpratt:rollup-OEB9tQ5, r=jhpratt
cf79d03
Rollup of 9 pull requests

Successful merges:

 - #155684 (Generalize IO Traits for `Arc<T>` where `&T: IoTrait`)
 - #155081 (Move and clean up some ui test)
 - #155379 (Avoid query cycles in DataflowConstProp)
 - #155663 (Eliminate `CrateMetadataRef`.)
 - #155669 (Add `Sender` diagnostic item for `std::sync::mpsc::Sender`)
 - #155698 (Syntactically reject tuple index shorthands in struct patterns to fix a correctness regression)
 - #155703 (Remove myself as a maintainer of `wasm32-wasip1-threads`)
 - #155706 (Remove `AttributeLintKind` variants - part 7)
 - #155712 (Forbid `*-pass` and `*-fail` directives in tests/crashes)
@rust-bors
rust-bors Bot merged commit cdba0ce into rust-lang:main Apr 24, 2026
11 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@rustbot rustbot added this to the 1.97.0 milestone Apr 24, 2026
rust-timer added a commit that referenced this pull request Apr 24, 2026
@rust-timer
Unrolled build for #155379
9ec858b
Rollup merge of #155379 - ashivaram23:mir-query-cycle, r=saethlin

Avoid query cycles in DataflowConstProp

Fixes #155376 by skipping coroutines.
github-actions Bot pushed a commit to rust-lang/rustc-dev-guide that referenced this pull request Apr 27, 2026
@bors
Auto merge of #155720 - jhpratt:rollup-OEB9tQ5, r=jhpratt
49bf540
Rollup of 9 pull requests

Successful merges:

 - rust-lang/rust#155684 (Generalize IO Traits for `Arc<T>` where `&T: IoTrait`)
 - rust-lang/rust#155081 (Move and clean up some ui test)
 - rust-lang/rust#155379 (Avoid query cycles in DataflowConstProp)
 - rust-lang/rust#155663 (Eliminate `CrateMetadataRef`.)
 - rust-lang/rust#155669 (Add `Sender` diagnostic item for `std::sync::mpsc::Sender`)
 - rust-lang/rust#155698 (Syntactically reject tuple index shorthands in struct patterns to fix a correctness regression)
 - rust-lang/rust#155703 (Remove myself as a maintainer of `wasm32-wasip1-threads`)
 - rust-lang/rust#155706 (Remove `AttributeLintKind` variants - part 7)
 - rust-lang/rust#155712 (Forbid `*-pass` and `*-fail` directives in tests/crashes)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@saethlin saethlin saethlin approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@saethlin saethlin

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Milestone

1.97.0

Development

Successfully merging this pull request may close these issues.

-Zmir-opt-level >= 3 errors with recursive async

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@ashivaram23 @rustbot @jackh726 @saethlin
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.