-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Make saturating_cast an intrinsic #6900
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 all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
71d7106
Make saturating_cast an intrinsic
2d398b5
clang format
70dcae2
fix saturating_cast intrinsic matching
19bc9d7
handle saturating_cast in Bounds.cpp + add bounds tests
a5d9732
Merge branch 'main' of github.com:halide/Halide into rootjalex/sat-casts
48c1acf
fix test
b99aa12
fix saturating_cast bounds inference
9e15b57
update saturating_cast CodeGen
53e2a64
update HexagonOptimize as well
1cac028
with_lanes should work on intrinsics as well
73d2b81
fix missed ARM codegen updates
a86e84f
lift to saturating_cast in FindIntrinsics
82bc087
update intrinsics test for u16_sat
880ad1d
better sat_cast(widen(expr)) handling in find_intrinsics
898438f
rm unused variable
5011b1e
add shift_right_narrow checks to ARM Call visitor
91c1352
simplify bounds of saturating_cast + update is_monotonic
c16746f
use type.element_of() in bounds inference
ffa96ce
address nits + check type_hint in Intrin pattern matching
1183ab6
Merge branch 'main' of github.com:halide/Halide into rootjalex/sat-casts
3e0ee7a
clang format
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
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.