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 84e6845 commit 4323b2bCopy full SHA for 4323b2b
llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
@@ -285,6 +285,12 @@ void GCNHazardRecognizer::processBundle() {
285
}
286
287
void GCNHazardRecognizer::processBundleBottomUp() {
288
+ // Walk through the instructions in this bundle in bottom-up order.
289
+ // We only use this during post-RA scheduling, so hazard recognizer mode
290
+ // should never be active here (it always runs top-down).
291
+ assert(!IsHazardRecognizerMode &&
292
+ "Bottom-up scheduling shouldn't run in hazard recognizer mode");
293
+
294
// Step through each instruction in the bundle in bottom-up order.
295
MachineBasicBlock::instr_iterator MI =
296
std::next(CurrCycleInstr->getIterator());
0 commit comments