LLVM 24.0.0git
SIInsertAsyncBarrierArriveWorkaround.cpp File Reference

Add a counted replay pseudo after affected async barrier arrivals. More...

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "si-insert-async-barrier-arrive-workaround"

Functions

static bool insertAsyncBarrierArriveWorkaround (MachineFunction &MF)

Detailed Description

Add a counted replay pseudo after affected async barrier arrivals.

MC emission saves EXEC, clears it for the dummy load, and restores it. Run after scheduling to keep the pseudo after its arrival, and before wait-count analysis so it accounts for the added async load.

Definition in file SIInsertAsyncBarrierArriveWorkaround.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "si-insert-async-barrier-arrive-workaround"

Definition at line 28 of file SIInsertAsyncBarrierArriveWorkaround.cpp.

Function Documentation

◆ insertAsyncBarrierArriveWorkaround()