-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix Vulkan interleave two vectors bug + Vector Legalization lowering pass #8629
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
Open
mcourteaux
wants to merge
56
commits into
halide:main
Choose a base branch
from
mcourteaux:fix-vulkan-interleave
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
d274861
Fix Vulkan interleave SPIRV codegen. Fix a bug in Simplify_Shuffle. F…
mcourteaux 4fde938
Vector Legalization Pass. Useful for vectorizing to GPU backends with…
mcourteaux e88e66c
Fix Makefile.
mcourteaux 2182bd1
Cleanup.
mcourteaux b345929
Cleanup vector legalization.
mcourteaux 488426c
Try to fix the compiler complaint around visibility.
mcourteaux c44a130
GCC-9 does not understand a complete switch?
mcourteaux 17a8c0a
Do not lift Let out to LetStmt if we are not in a loop with lane limi…
mcourteaux 306b616
Improve error message for reinterpret.
mcourteaux 2a50d11
Only run vector legalization mutators on device loops that require it.
mcourteaux 963f510
Move required simplifier logic for the vector legalization to the act…
mcourteaux f381af0
Remove special handling of strict_float, as those got overhauled.
mcourteaux 9e1329a
Hexagon codegen for vdelta fix regarding dont-care values in shuffle …
mcourteaux 43ed906
Clang-format
mcourteaux 4cb5c2c
Satisfy clang-tidy
mcourteaux 3034e92
Revive.
mcourteaux 70debb1
Restore case-insensitive sorting order.
mcourteaux f29344d
Feedback from Andrew.
mcourteaux ef2274a
Unify my own ExtractLanes and the existing Deinterleaver.
mcourteaux d9184c8
Don't use designated initializers. We're not on C++20 yet... :(
mcourteaux 9601159
clang-format
mcourteaux cbc0031
unrelated clang-format???
mcourteaux d747743
Slightly better early-outing of the ExtractLanes mutator.
mcourteaux 1937797
Forgot brackets.
mcourteaux 4c5fc2f
Merge branch 'main' into fix-vulkan-interleave
mcourteaux a2f084b
Clang-tidy.
mcourteaux 202d5c0
Two bugs identified by Gemini in CodeGen_Hexagon
mcourteaux 0f22d87
Fix the shuffle bug that's causing everything to fail.
mcourteaux 6f71253
Two bugs found by Gemini Pro.
mcourteaux 7d9370d
Another bug found by Gemini Pro.
mcourteaux 3c56378
Fix infinite recursion on shuffles of vectors with exclusively don't-…
mcourteaux 98a49dd
Merge branch 'hvx-bugs' into fix-vulkan-interleave
mcourteaux 4779737
I somehow f*cked up the git merge yesterday.
mcourteaux 5fdf126
Merge branch 'main' into fix-vulkan-interleave
mcourteaux 6565880
fix clang-tidy.
mcourteaux 61d5c55
Use CSE across stores during legalization.
mcourteaux 5f8e226
Address review comments.
mcourteaux 459eed2
Add a fuzzer for extract_lanes and fix issues found
abadams a71db49
Merge remote-tracking branch 'origin/abadams/vector_legalization' int…
mcourteaux 0c3b824
Clang format.
mcourteaux a386c58
Resolve ambiguous C++ call to Buffer constructor.
mcourteaux 7343c37
Merge branch 'main' into fix-vulkan-interleave
mcourteaux 06dcb86
Fix lossless casts of vector reduces down to bools
abadams 3a30306
Merge remote-tracking branch 'origin/abadams/fix_9011' into fix-vulka…
mcourteaux 358257b
Merge branch 'main' into fix-vulkan-interleave
mcourteaux 4dabe54
Fix an ARM codegen issue.
mcourteaux c83dc51
Simplify result of extract_lanes
mcourteaux a3077a2
Add skip for ARM in the extract_lanes fuzz tester.
mcourteaux ba579b9
Merge branch 'main' into fix-vulkan-interleave
mcourteaux 2c09330
Fixes #9030.
mcourteaux 33fa9b6
Merge remote-tracking branch 'origin/mcourteaux/fix-simplifier-vector…
mcourteaux af3bc76
Move simplification calls down to where they are needed.
mcourteaux a165925
Fix int type warning.
mcourteaux 01b6b1b
Extra work on fuzz test.
mcourteaux cd60a77
Disable fuzz tester on non-x86_64 for now.
mcourteaux 4e3750b
Apply pre-commit auto-fixes
halide-ci[bot] 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
Some comments aren't visible on the classic Files Changed page.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -240,6 +240,9 @@ xcuserdata | |
| # NeoVim + clangd | ||
| .cache | ||
|
|
||
| # CCLS | ||
| .ccls-cache | ||
|
|
||
| # Emacs | ||
| tags | ||
| TAGS | ||
|
|
||
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.
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.
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.
We should consider using https://github.com/google/keep-sorted for this.