-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[x86] Separate vector instruction selection and CodeGen passes #6884
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
rootjalex
wants to merge
65
commits into
main
Choose a base branch
from
rootjalex/x86-optimize
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
65 commits
Select commit
Hold shift + click to select a range
85e8c69
create VectorIntrininsic node
f0931c6
update IRMatch for VectorIntrinsic node
ac5b6f2
implement optimize_x86_instructions
09193f4
fix typo
24f74a9
clang-format
58ff01b
add VectorIntrinsic comment
0d30b56
format
e9029a2
add missing horizontal_add x86Intrinsics
9d2deb4
fix bfloat16 abs issue
1a51b83
fix unhandled bitwise_or in IRMatch.h
614b7ea
missing paren
a5b7e72
fix buildbot failures (I hope?)
c58f85e
clang-format
c9efd32
add empty Expr return to Deinterleaver::visic(const VectorIntrinsic*)
0e94961
fix horizontal_add references
fb538e3
fix bfloat16 abs issue (again)
c2a6175
fix instruction selection location
78edb81
clang format
53c560b
fix virtual function hidden error
2cfc0c1
fix absd codegen bug
0675e86
attempt to fix x86 vector-reduction splitting
6471226
clang tidy
fb82166
fix MSVC templating bug
f092606
implement Andrew's requested changes
d660816
Merge branch 'main' of github.com:halide/Halide into rootjalex/x86-op…
339b6b7
undef -> poison
17c9924
fully remove saturating_pmulhrs
6c74a63
clang format
11690d7
disable UB for VectorInstruction node
3648ca6
implement a base class for instruction selection
870af00
fix merge conflict + implement psadbw
c21bec5
clang format
e6502f8
fix last remnants of vector intrinsic -> vector instruction renaming
6d2bfd1
fix virtual func hidden error
fa2d4e2
remove 'implement VI visitor' error msg
ec2cd4e
address nits
0e5cfcf
temporary HVX/CSE fix
b3b3551
fix case without WITH_X86
40f575c
fix x86 saturating_narrow pattern mistake
545fbe8
lower mod in InstructionSelector too
cd0fe8a
clang format
6e67ddf
implement pattern matching for SapphireRapids
7cc3b64
Merge branch 'main' of github.com:halide/Halide into rootjalex/x86-op…
9da91da
Merge branch 'rootjalex/x86-optimize' of github.com:halide/Halide int…
19b2c5e
rm stray 'protected'
258b72c
merge conflict
a98f268
update x86 saturating_cast rules using intrinsic
22d17e7
fix namespace issue
bbfefd2
Merge branch 'main' of github.com:halide/Halide into rootjalex/x86-op…
e2045bf
place Expr constants on the stack
dc4d1f7
i8 -> u8 bugfix
9a5327c
add better type checking in IRMatch for SpecificExpr cases
292d8e5
clang format
5258627
Merge branch 'main' of github.com:halide/Halide into rootjalex/x86-op…
3b0dc43
missing &&
1eb0e94
clang format
f6eb2bf
update SpecificExpr comment + remove dangling TODO comments
a57e022
Merge branch 'main' of github.com:halide/Halide into rootjalex/x86-op…
6a342ba
Merge branch 'main' of github.com:halide/Halide into rootjalex/x86-op…
95e5070
fix signed absd lowering on x86
7aaf9a7
add type assertion to Optimize_X86::mutate
b4e2e42
use shuffle for deinterleave on VectorInstruction
15e1a8c
do not try to extract when a vector is a simple extract_element
cc2fac7
don't call 'simplify' in deinterleave on extract_lane
f36d75d
resolve merge conflicts
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
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.
Please elaborate on this comment, also nit: lines in the block comment should start with *