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

torch: [nfc] use WalkResult::isInterrupted() instead of booleans #1081

Merged
merged 1 commit into from
Jul 19, 2022
Merged

torch: [nfc] use WalkResult::isInterrupted() instead of booleans #1081

merged 1 commit into from
Jul 19, 2022

Conversation

ashay
Copy link
Collaborator

@ashay ashay commented Jul 19, 2022

An upstream MLIR bug (that was recently fixed) caused the result to be
ignored for Region- and Block-visitor functions. Now that the bug is
fixed, we don't need an auxiliary boolean to track whether the visitor
function has succeeded.

An upstream MLIR bug (that was recently fixed) caused the result to be
ignored for Region- and Block-visitor functions.  Now that the bug is
fixed, we don't need an auxiliary boolean to track whether the visitor
function has succeeded.
@ashay ashay requested a review from silvasean July 19, 2022 00:03
Copy link
Contributor

@silvasean silvasean left a comment

Choose a reason for hiding this comment

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

Thanks!

@silvasean
Copy link
Contributor

btw, are you on discord @ashay?

@ashay
Copy link
Collaborator Author

ashay commented Jul 19, 2022

btw, are you on discord?

Yeah, I am @radiosonde on Discord/LLVM.

@ashay ashay merged commit e06ee08 into llvm:main Jul 19, 2022
@ashay ashay deleted the ashay/walk-result branch July 19, 2022 17:18
@silvasean
Copy link
Contributor

@ashay can you add me as a friend on Discord/LLVM? Your account doesn't seem to be accepting DM's/friend requests.

@ashay
Copy link
Collaborator Author

ashay commented Jul 19, 2022

Hey @silvasean, just saw your message. Sorry about the delay. Added now.

gpetters94 pushed a commit to gpetters94/mlir-npcomp that referenced this pull request Jul 27, 2022
…lvm#1081)

An upstream MLIR bug (that was recently fixed) caused the result to be
ignored for Region- and Block-visitor functions.  Now that the bug is
fixed, we don't need an auxiliary boolean to track whether the visitor
function has succeeded.
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