@@ -311,7 +311,7 @@ class PipelineSolver {
311
311
uint64_t BranchesExplored = 0 ;
312
312
313
313
// The direction in which we process the candidate SchedGroups per SU
314
- bool IsBottomUp = 1 ;
314
+ bool IsBottomUp = true ;
315
315
316
316
// Update indices to fit next conflicting instruction
317
317
void advancePosition ();
@@ -365,7 +365,7 @@ class PipelineSolver {
365
365
366
366
PipelineSolver (DenseMap<int , SmallVector<SchedGroup, 4 >> &SyncedSchedGroups,
367
367
DenseMap<int , SUnitsToCandidateSGsMap> &SyncedInstrs,
368
- ScheduleDAGMI *DAG, bool IsBottomUp = 1 )
368
+ ScheduleDAGMI *DAG, bool IsBottomUp = true )
369
369
: DAG(DAG), SyncedInstrs(SyncedInstrs),
370
370
SyncedSchedGroups (SyncedSchedGroups), IsBottomUp(IsBottomUp) {
371
371
@@ -858,7 +858,7 @@ class IGLPStrategy {
858
858
virtual bool shouldApplyStrategy (ScheduleDAGInstrs *DAG,
859
859
AMDGPU::SchedulingPhase Phase) = 0;
860
860
861
- bool IsBottomUp = 1 ;
861
+ bool IsBottomUp = true ;
862
862
863
863
IGLPStrategy (ScheduleDAGInstrs *DAG, const SIInstrInfo *TII)
864
864
: DAG(DAG), TII(TII) {}
@@ -881,7 +881,7 @@ class MFMASmallGemmOpt final : public IGLPStrategy {
881
881
882
882
MFMASmallGemmOpt (ScheduleDAGInstrs *DAG, const SIInstrInfo *TII)
883
883
: IGLPStrategy(DAG, TII) {
884
- IsBottomUp = 1 ;
884
+ IsBottomUp = true ;
885
885
}
886
886
};
887
887
@@ -1350,7 +1350,7 @@ class MFMAExpInterleaveOpt final : public IGLPStrategy {
1350
1350
1351
1351
MFMAExpInterleaveOpt (ScheduleDAGInstrs *DAG, const SIInstrInfo *TII)
1352
1352
: IGLPStrategy(DAG, TII) {
1353
- IsBottomUp = 0 ;
1353
+ IsBottomUp = false ;
1354
1354
}
1355
1355
};
1356
1356
@@ -2061,7 +2061,7 @@ class MFMASmallGemmSingleWaveOpt final : public IGLPStrategy {
2061
2061
2062
2062
MFMASmallGemmSingleWaveOpt (ScheduleDAGInstrs *DAG, const SIInstrInfo *TII)
2063
2063
: IGLPStrategy(DAG, TII) {
2064
- IsBottomUp = 0 ;
2064
+ IsBottomUp = false ;
2065
2065
}
2066
2066
};
2067
2067
@@ -2371,7 +2371,7 @@ class IGroupLPDAGMutation : public ScheduleDAGMutation {
2371
2371
// created SchedGroup first, and will consider that as the ultimate
2372
2372
// predecessor group when linking. TOP_DOWN instead links and processes the
2373
2373
// first created SchedGroup first.
2374
- bool IsBottomUp = 1 ;
2374
+ bool IsBottomUp = true ;
2375
2375
2376
2376
// The scheduling phase this application of IGLP corresponds with.
2377
2377
AMDGPU::SchedulingPhase Phase = AMDGPU::SchedulingPhase::Initial;
0 commit comments