File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -345,9 +345,7 @@ class WaitcntGenerator {
345345
346346class WaitcntGeneratorPreGFX12 : public WaitcntGenerator {
347347public:
348- WaitcntGeneratorPreGFX12 () = default ;
349- WaitcntGeneratorPreGFX12 (const MachineFunction &MF)
350- : WaitcntGenerator(MF, NUM_NORMAL_INST_CNTS) {}
348+ using WaitcntGenerator::WaitcntGenerator;
351349
352350 bool
353351 applyPreexistingWaitcnt (WaitcntBrackets &ScoreBrackets,
@@ -381,10 +379,7 @@ class WaitcntGeneratorPreGFX12 : public WaitcntGenerator {
381379
382380class WaitcntGeneratorGFX12Plus : public WaitcntGenerator {
383381public:
384- WaitcntGeneratorGFX12Plus () = default ;
385- WaitcntGeneratorGFX12Plus (const MachineFunction &MF,
386- InstCounterType MaxCounter)
387- : WaitcntGenerator(MF, MaxCounter) {}
382+ using WaitcntGenerator::WaitcntGenerator;
388383
389384 bool
390385 applyPreexistingWaitcnt (WaitcntBrackets &ScoreBrackets,
@@ -2748,7 +2743,7 @@ bool SIInsertWaitcnts::run(MachineFunction &MF) {
27482743 WCG = &WCGGFX12Plus;
27492744 } else {
27502745 MaxCounter = NUM_NORMAL_INST_CNTS;
2751- WCGPreGFX12 = WaitcntGeneratorPreGFX12 (MF);
2746+ WCGPreGFX12 = WaitcntGeneratorPreGFX12 (MF, MaxCounter );
27522747 WCG = &WCGPreGFX12;
27532748 }
27542749
You can’t perform that action at this time.
0 commit comments