Skip to content

[CIR] Add support for nontemporal loads and stores #1494

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 1 commit into from
Mar 18, 2025

Conversation

Lancern
Copy link
Member

@Lancern Lancern commented Mar 17, 2025

This PR adds a new boolean flag to the cir.load and the cir.store operation that distinguishes nontemporal loads and stores. Besides, this PR also adds support for the __builtin_nontemporal_load and the __builtin_nontemporal_store intrinsic function.

This patch adds a new boolean flag to the cir.load and the cir.store operation
that distinguishes nontemporal loads and stores. Besides, this patch also adds
support for the __builtin_nontemporal_load and the __builtin_nontemporal_store
intrinsic function.
Copy link
Member

@bcardosolopes bcardosolopes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@Lancern Lancern merged commit 0364dd2 into llvm:main Mar 18, 2025
7 checks passed
@Lancern Lancern deleted the nontemporal-load-store branch March 18, 2025 00:53
lanza pushed a commit that referenced this pull request Mar 18, 2025
This PR adds a new boolean flag to the `cir.load` and the `cir.store`
operation that distinguishes nontemporal loads and stores. Besides, this
PR also adds support for the `__builtin_nontemporal_load` and the
`__builtin_nontemporal_store` intrinsic function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants