-
Notifications
You must be signed in to change notification settings - Fork 15.2k
[LoopIdiom] Select llvm.experimental.memset.pattern intrinsic rather than memset_pattern16 libcall #126736
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
asb
merged 27 commits into
llvm:main
from
asb:2025q1-loopidiom-recognize-switch-to-memset-pattern-intrinsic
Jul 9, 2025
Merged
[LoopIdiom] Select llvm.experimental.memset.pattern intrinsic rather than memset_pattern16 libcall #126736
Changes from 3 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
a052059
[LoopIdiom] Select llvm.experimental.memset.pattern intrinsic rather …
asb 6409a4b
Merge remote-tracking branch 'origin/main' into 2025q1-loopidiom-reco…
asb 59ecf00
Merge remote-tracking branch 'origin/main' into 2025q1-loopidiom-reco…
asb 809320f
Fix bit/bytes confusion in setting alignment
asb b561986
Merge remote-tracking branch 'origin/main' into 2025q1-loopidiom-reco…
asb 808e5c2
Excise unneeded logic for creating a globalvariable (which was still …
asb 756d7a4
Merge remote-tracking branch 'origin/main' into 2025q1-loopidiom-reco…
asb 763b40a
Remove unnecessary initialisation of std::optional
asb 48a9ed8
auto *CI and remove comment that's made redundant
asb 71e0307
Merge remote-tracking branch 'origin/main' into 2025q1-loopidiom-reco…
asb 07c8df2
Set alignment for dest ptr of emitted memset.pattern
asb 3e77fd8
Tweak description of ForceMemsetPatternIntrinsic
asb e693285
Merge remote-tracking branch 'origin/main' into 2025q1-loopidiom-reco…
asb 77ba4b4
Drop outdated comment
asb fbed3bc
Tweak comment as per Craig's suggestion
asb 07af8f7
Fix incorrectly resolved merge conflict
asb b70871c
Merge remote-tracking branch 'origin/main' into 2025q1-loopidiom-reco…
asb 23dcffe
Merge remote-tracking branch 'origin/main' into 2025q1-loopidiom-reco…
asb 13ae5b8
Merge remote-tracking branch 'origin/main' into 2025q1-loopidiom-reco…
asb e6bb52c
Merge remote-tracking branch 'origin/main' into 2025q1-loopidiom-reco…
asb c15584d
Merge remote-tracking branch 'origin/main' into 2025q1-loopidiom-reco…
asb c178f9f
Make use of the fact memset.pattern allows any sized type as arg
asb 7a5495d
[PreISelIntrinsicLowering] Reuse previously generated GlobalVariable …
asb d8b4ae1
Merge remote-tracking branch 'origin/main' into 2025q1-loopidiom-reco…
asb 43a05fd
Merge remote-tracking branch 'origin/main' into 2025q1-loopidiom-reco…
asb c6714f2
Check type directly in getMemsetPatternValue as suggested by nikic
asb cdd5029
Fix comment at top of getMemSetPatternValue
asb 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
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.