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 869d367 commit 83db071Copy full SHA for 83db071
llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
@@ -2062,8 +2062,7 @@ bool PreRARematStage::canIncreaseOccupancyOrReduceSpill() {
2062
}
2063
2064
void PreRARematStage::rematerialize() {
2065
- const auto *TII =
2066
- static_cast<const SIInstrInfo *>(MF.getSubtarget().getInstrInfo());
+ const SIInstrInfo *TII = MF.getSubtarget<GCNSubtarget>().getInstrInfo();
2067
2068
// Collect regions whose RP changes in unpredictable way; we will have to
2069
// fully recompute their RP after all rematerailizations.
0 commit comments