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 a04ae23 commit 409b19fCopy full SHA for 409b19f
llvm/lib/Target/AMDGPU/R600Packetizer.cpp
@@ -319,6 +319,11 @@ bool R600Packetizer::runOnMachineFunction(MachineFunction &Fn) {
319
320
MachineLoopInfo &MLI = getAnalysis<MachineLoopInfoWrapperPass>().getLI();
321
322
+ const InstrItineraryData *II = ST.getInstrItineraryData();
323
+ // If there is no itineraries information, abandon.
324
+ if (II->Itineraries == nullptr)
325
+ return false;
326
+
327
// Instantiate the packetizer.
328
R600PacketizerList Packetizer(Fn, ST, MLI);
329
0 commit comments