Skip to content

Commit a8508fa

Browse files
committed
Address review comments
1 parent 5527043 commit a8508fa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/lib/Passes/PassBuilderPipelines.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ static cl::opt<bool>
207207

208208
static cl::opt<bool> EnableLoopFusion("enable-loopfusion", cl::init(false),
209209
cl::Hidden,
210-
cl::desc("Enable the LoopFusion Pass"));
210+
cl::desc("Enable the LoopFuse Pass"));
211211

212212
static cl::opt<bool> EnableUnrollAndJam("enable-unroll-and-jam",
213213
cl::init(false), cl::Hidden,
@@ -644,6 +644,8 @@ PassBuilder::buildFunctionSimplificationPipeline(OptimizationLevel Level,
644644
if (EnableConstraintElimination)
645645
FPM.addPass(ConstraintEliminationPass());
646646

647+
// FIXME: This may not be the right place in the pipeline.
648+
// We need to have the data to support the right place.
647649
if (PTO.LoopFusion)
648650
FPM.addPass(LoopFusePass());
649651

0 commit comments

Comments
 (0)