[llvm] [AMDGPU] Pre-GFX10 does not need added latency for workgroup fences (PR #177157)
Carl Ritson via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 23 05:09:18 PST 2026
================
@@ -47,6 +48,11 @@ class BarrierLatency : public ScheduleDAGMutation {
IgnoredScopes.insert(Context.getOrInsertSyncScopeID("wavefront"));
IgnoredScopes.insert(Context.getOrInsertSyncScopeID("wavefront-one-as"));
IgnoredScopes.insert(Context.getOrInsertSyncScopeID("singlethread-one-as"));
+
+ if (!AMDGPU::isGFX10Plus(MF->getSubtarget<GCNSubtarget>())) {
----------------
perlfu wrote:
Done, although I had to add the associated method.
https://github.com/llvm/llvm-project/pull/177157
More information about the llvm-commits
mailing list