File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 77// ===----------------------------------------------------------------------===//
88//
99// / \file This file contains a DAG scheduling mutation to add latency to
10- // / barrier edges between ATOMIC_FENCE instructions and preceeding
10+ // / barrier edges between ATOMIC_FENCE instructions and preceding
1111// / memory accesses potentially affected by the fence.
12- // / This is beneficial when a fence would cause wait count insertion,
13- // / as more instructions will be scheduled before the fence hiding
14- // / memory latency.
15- // / It also reduces the risk of a fence causing a premature wait
16- // / on all active memory operations .
12+ // / This encourages the scheduling of more instructions before
13+ // / ATOMIC_FENCE instructions. ATOMIC_FENCE instructions may
14+ // / introduce wait counting or indicate an impending S_BARRIER
15+ // / wait. Having more instructions in-flight across these
16+ // / constructs improves latency hiding .
1717//
1818// ===----------------------------------------------------------------------===//
1919
Original file line number Diff line number Diff line change 22# RUN: llc -mtriple=amdgcn -mcpu=gfx1100 -passes=postmisched -o - %s | FileCheck %s
33
44# Ensure WMMA operations stay before the final atomic fence and barrier group.
5+ # This allows the latency of the WMMA operations to be hidden by barrier wait.
56---
67name : test
78tracksRegLiveness : true
You can’t perform that action at this time.
0 commit comments