Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix loophole in hoisting where an OpVar's uses might not be properly registered for replacement #6212

Merged

Conversation

saipraveenb25
Copy link
Collaborator

No description provided.

@saipraveenb25 saipraveenb25 added the pr: non-breaking PRs without breaking changes label Jan 29, 2025
@saipraveenb25 saipraveenb25 requested a review from a team as a code owner January 29, 2025 02:31

// This is a bit of a hack.. ideally we need to add the var to the worklist for
// further processing rather than replicating those operations here.
//
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why can’t we just do as the comment said?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I believe the body of the loop needs a small rewrite. I can do this in a follow-up PR.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Opened an issue to track this cleanup: #6214

@saipraveenb25 saipraveenb25 enabled auto-merge (squash) January 29, 2025 05:24
@saipraveenb25 saipraveenb25 merged commit c18c436 into shader-slang:master Jan 29, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: non-breaking PRs without breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants