[clang] [llvm] [AMDGPU] Introduce asyncmark/wait intrinsics (PR #173259)
Krzysztof Drewniak via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 6 09:37:23 PST 2026
================
@@ -368,12 +368,15 @@ enum CPol {
GLC = 1,
SLC = 2,
DLC = 4,
+ SWZ_pregfx12 = 8,
SCC = 16,
+ ASYNC_pregfx12 = 32,
----------------
krzysz00 wrote:
Metadata wouldn't have worked because metadata needs to be erasable.
Now, I do think that if we want to do this properly, we make an `i1` immarg for whether an operation is async and autoupgrade in a value of `false`. I'd also say we may want to retroactively do that for `volatile` so that we can get non-hardware bits out of CPol. (I'm just not volunteering to write that code right now)
https://github.com/llvm/llvm-project/pull/173259
More information about the cfe-commits
mailing list