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.
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
reorder_slice_add_mul matcher #3478
base: develop
Are you sure you want to change the base?
reorder_slice_add_mul matcher #3478
Changes from 44 commits
709daf0
94c624b
8304922
2e75e28
cd6d0bc
bc51516
f8a4505
b0edd34
69457bd
ba4ed3b
6a99db9
e17bb63
3a67dab
dd94dbe
4dd052d
7d7d5d4
4e74cf4
5f90a6f
95b31f7
4cd618a
ab5282b
f49a289
48b1f67
cf62a4e
1101f35
be20e61
63b9737
35c9441
095192f
aff69c3
d1fe6a1
4a787b3
4aaa2b9
a979c11
4e11892
7143f53
e9b8c98
e4ec31d
f8b4c05
ffec7d8
0d5a6d5
8f4b2b3
4270a27
8788ba2
7e28351
9a31825
2a10591
696b842
cec662f
fa12fcc
b05e0ba
38b51e1
7c30359
271bd2b
293dd51
cef6880
f7f0996
892a26d
e8e46d1
f478e04
e85f850
ec4cb3e
318e36a
6be46f4
ad1bb34
9804425
7ebf297
b7f3037
256456a
9eceb9f
6a50c51
9b00fd8
35a20e0
58a4a0f
ce65be9
3d070cb
75da7c3
28eb64d
c59d2fa
0eeb663
820bb12
3950cd3
0d99d23
8bd694e
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should return true as we want to skip the outputs that are not slices.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be
match::none_of(match::name("slice")(match::arg(0)(fusable_split("add"))))
.Check warning on line 441 in src/simplify_algebra.cpp
GitHub Actions / tidy
Check warning on line 4284 in test/simplify_algebra_test.cpp
GitHub Actions / tidy
Check warning on line 4284 in test/simplify_algebra_test.cpp
GitHub Actions / tidy
Check warning on line 4285 in test/simplify_algebra_test.cpp
GitHub Actions / tidy
Check warning on line 4285 in test/simplify_algebra_test.cpp
GitHub Actions / tidy