File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
lib/SILOptimizer/PassManager Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ static llvm::cl::opt<bool>
43
43
SILViewCFG (" sil-view-cfg" , llvm::cl::init(false ),
44
44
llvm::cl::desc(" Enable the sil cfg viewer pass" ));
45
45
46
- static llvm::cl::opt<bool > SILViewGuaranteedCFG (
47
- " sil-view-guaranteed -cfg" , llvm::cl::init(false ),
46
+ static llvm::cl::opt<bool > SILViewCanonicalCFG (
47
+ " sil-view-canonical -cfg" , llvm::cl::init(false ),
48
48
llvm::cl::desc(" Enable the sil cfg viewer pass after diagnostics" ));
49
49
50
50
static llvm::cl::opt<bool > SILViewSILGenCFG (
@@ -187,8 +187,8 @@ SILPassPipelinePlan::getDiagnosticPassPipeline(const SILOptions &Options) {
187
187
// Otherwise run the rest of diagnostics.
188
188
addMandatoryDiagnosticOptPipeline (P);
189
189
190
- if (SILViewGuaranteedCFG ) {
191
- addCFGPrinterPipeline (P, " SIL View Guaranteed CFG" );
190
+ if (SILViewCanonicalCFG ) {
191
+ addCFGPrinterPipeline (P, " SIL View Canonical CFG" );
192
192
}
193
193
return P;
194
194
}
You can’t perform that action at this time.
0 commit comments