-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[LLVM] Add llvm.experimental.vector.compress
intrinsic
#92289
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
Merged
Changes from 54 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
3a7b064
Add initial code for @llvm.masked.compress intrinsics
lawben 75abf0b
Remove requirements for legal types
lawben 0329bc9
Add tests for AArch64
lawben 73bfebb
Add floating point test
lawben e4423a1
Add documentation
lawben 3e99678
Fix formatting
lawben b686f83
Fix references in docs
lawben 73cc28f
Add widen for vector type legalization
lawben 8a613f3
Put expand logic in TargerLowering to avoid code duplication.
lawben a4df959
Fix formatting
lawben 17004b9
Add basic lowering of MCOMPRESS in GlobalISel
lawben 984cad1
Add basic AArch64 MIR test
lawben 0ea2415
Address PR comments
lawben 1dc79b4
Update docs according to PR comments
lawben c8515ca
Match result and input types of MCOMPRES
lawben 8353b2d
Add constant folding to SelectionDAG::getNode()
lawben a9aba29
Address PR comments for type legalization
lawben b0af320
Move masked.compress in docs
lawben d9587c7
Fix bug for x86 result widening
lawben c04da9b
Remove zero-fill when widening vector
lawben a60523c
Use [[maybe_unused]] for asserts
lawben 9279e5e
Move constant folding to DAGCombiner
lawben b48dada
Change TODO for AArch64 GlobalISel
lawben d443671
Remove wrong ISA from docs
lawben d45f61b
Rename MCOMPRESS to MASKED_COMPRESS
lawben 4366a43
Get stack alignment for load in GlobalISel
lawben 808709f
Fix formatting
lawben d5fca0f
Replace use of TLI inside of TargetLowering
lawben 00b64d2
Use vector alignement for stack load
lawben 60f9c61
Add llvm.masked.compress to release notes
lawben 3faed13
Merge branch 'main' into masked_compress
lawben 6aa480c
Merge branch 'main' into masked_compress
lawben 6549386
Merge branch 'main' into masked_compress
lawben 5589519
Merge branch 'main' into masked_compress
lawben f7e4b48
Add passthru vector to @llvm.masked.compress
lawben 9f291c8
Add passthru to DAGCombiner
lawben c733d6b
Update LangRef with passthru
lawben 9222b54
Add passthru to GlobalISel
lawben 616c142
Merge branch 'main' into masked_compress
lawben daa784f
Fix formatting
lawben 3e4673c
Fix GlobalISel test
lawben 4b12b32
Update comment on MASKED_COMPRESS opcode
lawben 6c9c969
Fix docs
lawben 069eb24
Address PR comments
lawben 457cbdf
Merge branch 'main' into masked_compress
lawben 5e3189b
Use isConstTrueVal
lawben 6b3a3b8
Remove redundant undef
lawben 50cce23
Address PR comments
lawben 89c3e9f
Return passthru for undef mask or vec
lawben 995c863
Address PR comments
lawben adb9d9c
Rename masked.compress to experimental.vector.compress
lawben ba2939e
Add freeze to mask extract for poison/undef entries
lawben 11e1742
Fix docs
lawben 32cc27f
Fix docs
lawben 99610a8
Address PR comments
lawben efa2e92
Merge branch 'main' into masked_compress
lawben 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
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
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
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
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
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
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
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
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
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
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
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
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.