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 M1 CI Failure in VariableEliminationPass #103

Merged
merged 5 commits into from
May 1, 2023

Conversation

bcdonovan
Copy link
Contributor

This PR makes a small change to the VariableEliminationPass to fix CI failures on Apple M1s. See issue #102.

The code in question iterates over the users of a the result of the operation to delete the users. On M1 it is necessary to copy the users to a SmallVector and then iterate as erasing a user appears to change the iteration over getUsers().

@bcdonovan bcdonovan requested a review from kitbarton May 1, 2023 17:26
@github-actions
Copy link
Contributor

github-actions bot commented May 1, 2023

clang-tidy review says "All clean, LGTM! 👍"

Copy link
Contributor

@mbhealy mbhealy left a comment

Choose a reason for hiding this comment

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

LGTM

@bcdonovan bcdonovan merged commit f932310 into main May 1, 2023
2 checks passed
@bcdonovan bcdonovan deleted the bd-fix-variable-elimination branch May 1, 2023 21:33
@mhillenbrand
Copy link
Contributor

Good catch, thank you!

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.

None yet

3 participants