This makes it possible to insert nops at the end of blocks.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
MI is an iterator, so it could be BasicBlock::end(), which isn't always an instruction and doesn't have a parent.
Paths
| Differential D18549
AMDGPU/SI: Add MachineBasicBlock parameter to SIInstrInfo::insertWaitStates ClosedPublic Authored by • tstellarAMD on Mar 29 2016, 7:11 AM.
Details Summary This makes it possible to insert nops at the end of blocks.
Diff Detail Event Timeline• tstellarAMD retitled this revision from to AMDGPU/SI: Add MachineBasicBlock parameter to SIInstrInfo::insertWaitStates. • tstellarAMD updated this object. arsenm edited edge metadata. Comment ActionsLGTM. Is this ever actually different than MI->getParent()? This revision is now accepted and ready to land.Mar 29 2016, 9:14 AM Comment Actions
MI is an iterator, so it could be BasicBlock::end(), which isn't always an instruction and doesn't have a parent. Closed by commit rL265678: AMDGPU/SI: Add MachineBasicBlock parameter to SIInstrInfo::insertWaitStates (authored by tstellar). · Explain WhyApr 7 2016, 7:52 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 51900 lib/Target/AMDGPU/SIInsertWaits.cpp
lib/Target/AMDGPU/SIInstrInfo.h
lib/Target/AMDGPU/SIInstrInfo.cpp
lib/Target/AMDGPU/SIRegisterInfo.cpp
|