Repository navigation
[NFC] IREEInput/Util: Simplify loops with llvm range helpers - #14334
Merged
Merged
Conversation
jpienaar
reviewed
Jul 7, 2023
| } | ||
| return false; | ||
| return llvm::any_of(value.getUses(), [](auto &use) { | ||
| if (auto tiedOp = dyn_cast<TiedOpInterface>(use.getOwner())) { |
Member
There was a problem hiding this comment.
dyn_cast_if_present ? (I think if this is block arg then we'd be operating on nullptr with dyn_cast)
Member
Author
There was a problem hiding this comment.
Uses are always ops so it should be safe
jpienaar
approved these changes
Jul 7, 2023
Member
|
We had an issue with CI triggering. Can you sync this past 68350cb to run presubmits? |
ezhulenev
force-pushed
the
modernize-util-1
branch
from
July 9, 2023 05:35
86a8fe2 to
d2278af
Compare
nhasabni
pushed a commit
to plaidml/iree
that referenced
this pull request
Aug 24, 2023
stellaraccident
pushed a commit
that referenced
this pull request
Sep 24, 2023
* iree: ac34d7b [NFC] IREEInput/Util: Simplify loops with llvm range helpers (#14334) (Sun Jul 9 05:59:00 2023 +0000) * xla: fab371676 Update TFRT dependency to use revision http://github.com/tensorflow/runtime/commit/dfcdbb6ef3714e8818765ee4309fb23b76c22f98. (Sat Jul 8 00:06:05 2023 -0700) * jax: 1795b12a9 Merge pull request #16654 from jakevdp:ml-dtypes-version (Fri Jul 7 13:13:55 2023 -0700)
stellaraccident
pushed a commit
that referenced
this pull request
Sep 24, 2023
* iree: ac34d7b [NFC] IREEInput/Util: Simplify loops with llvm range helpers (#14334) (Sun Jul 9 05:59:00 2023 +0000) * xla: 72c86ba00 Update TFRT dependency to use revision http://github.com/tensorflow/runtime/commit/46664e9fe40d2a204bbc8b629a778cb8032fd8c1. (Mon Jul 10 12:28:51 2023 -0700) * jax: b19c63278 Merge pull request #16668 from LenaMartens:check-cleanup (Mon Jul 10 09:41:50 2023 -0700)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.