We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 188e02f commit 1da72c7Copy full SHA for 1da72c7
llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
@@ -281,6 +281,12 @@ void GCNHazardRecognizer::processBundle() {
281
}
282
283
void GCNHazardRecognizer::processBundleBottomUp() {
284
+ // Walk through the instructions in this bundle in bottom-up order.
285
+ // We only use this during post-RA scheduling, so hazard recognizer mode
286
+ // should never be active here (it always runs top-down).
287
+ assert(!IsHazardRecognizerMode &&
288
+ "Bottom-up scheduling shouldn't run in hazard recognizer mode");
289
+
290
// Step through each instruction in the bundle in bottom-up order.
291
MachineBasicBlock::instr_iterator MI =
292
std::next(CurrCycleInstr->getIterator());
0 commit comments