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 c6a3763 commit 5672a87Copy full SHA for 5672a87
llvm/lib/CodeGen/ModuloSchedule.cpp
@@ -423,7 +423,7 @@ void ModuloScheduleExpander::generateExistingPhis(
423
// potentially define two values.
424
unsigned MaxPhis = PrologStage + 2;
425
if (!InKernel && (int)PrologStage <= LoopValStage)
426
- MaxPhis = std::max((int)MaxPhis - (int)LoopValStage, 1);
+ MaxPhis = std::max((int)MaxPhis - LoopValStage, 1);
427
unsigned NumPhis = std::min(NumStages, MaxPhis);
428
429
Register NewReg;
0 commit comments