-
Notifications
You must be signed in to change notification settings - Fork 15.4k
[mlir][Vector] add vector.insert canonicalization pattern to convert a chain of insertions to vector.from_elements #142944
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
Merged
Groverkss
merged 17 commits into
llvm:main
from
yangtetris:canonicalization_patter_insert_poison
Aug 19, 2025
Merged
Changes from 2 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
c511a4e
add vector.insert canonicalization pattern for vectors created from u…
bba3d6c
refine comments & add hasOneUse check
9701de8
use from_elements to replace arith.constant
27bb005
update doc
b3e9850
fix typo and update test
bb8c827
remove ub poison check and fix bugs
ce818c1
update test
8051673
Merge remote-tracking branch 'origin/main' into canonicalization_patt…
7f8ccf0
Merge remote-tracking branch 'origin/main' into canonicalization_patt…
376ad09
use vector.to_elements to replace vector.extract and refine tests
5b6edc9
Apply suggestions from code review
yangtetris d88b2ce
add test and refine doc
1560452
Update mlir/test/Dialect/Vector/canonicalize.mlir
yangtetris b7223d0
refine
747cb4a
Merge remote-tracking branch 'origin/main' into canonicalization_patt…
5bca4ee
update test
e7824d1
Merge branch 'main' into canonicalization_patter_insert_poison
yangtetris File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
yangtetris marked this conversation as resolved.
Show resolved
Hide resolved
|
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.