From bcfc97dbf40c256ed59c2424e0c55b845f0f2569 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 11 May 2012 13:44:24 -0400 Subject: radeon/llvm: More comments and cleanups --- src/gallium/drivers/radeon/SIISelLowering.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gallium/drivers/radeon/SIISelLowering.h') diff --git a/src/gallium/drivers/radeon/SIISelLowering.h b/src/gallium/drivers/radeon/SIISelLowering.h index 229e682ef51..4a1bc38b5f6 100644 --- a/src/gallium/drivers/radeon/SIISelLowering.h +++ b/src/gallium/drivers/radeon/SIISelLowering.h @@ -23,6 +23,10 @@ class SITargetLowering : public AMDGPUTargetLowering { const SIInstrInfo * TII; + /// AppendS_WAITCNT - Memory reads and writes are syncronized using the + /// S_WAITCNT instruction. This function takes the most conservative + /// approach and inserts an S_WAITCNT instruction after every read and + /// write. void AppendS_WAITCNT(MachineInstr *MI, MachineBasicBlock &BB, MachineBasicBlock::iterator I) const; void LowerSI_INTERP(MachineInstr *MI, MachineBasicBlock &BB, -- cgit v1.2.3