diff options
Diffstat (limited to 'llvm/lib/Target/AMDGPU/GCNHazardRecognizer.h')
-rw-r--r-- | llvm/lib/Target/AMDGPU/GCNHazardRecognizer.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/Target/AMDGPU/GCNHazardRecognizer.h b/llvm/lib/Target/AMDGPU/GCNHazardRecognizer.h index 3c0a80844b5..d82041c5f17 100644 --- a/llvm/lib/Target/AMDGPU/GCNHazardRecognizer.h +++ b/llvm/lib/Target/AMDGPU/GCNHazardRecognizer.h @@ -24,15 +24,16 @@ class MachineFunction; class MachineInstr; class ScheduleDAG; class SIInstrInfo; +class SISubtarget; class GCNHazardRecognizer final : public ScheduleHazardRecognizer { - - // This variable stores the instruction that has been emitted this cycle. - // It will be added to EmittedInstrs, when AdvanceCycle() or RecedeCycle() is + // This variable stores the instruction that has been emitted this cycle. It + // will be added to EmittedInstrs, when AdvanceCycle() or RecedeCycle() is // called. MachineInstr *CurrCycleInstr; std::list<MachineInstr*> EmittedInstrs; const MachineFunction &MF; + const SISubtarget &ST; int getWaitStatesSinceDef(unsigned Reg, function_ref<bool(MachineInstr *)> IsHazardDef = |