From 15583ac269340952659d738b2ce9bc4a10676fe5 Mon Sep 17 00:00:00 2001 From: Meghana Gupta Date: Mon, 1 Jun 2020 23:29:13 -0700 Subject: [PATCH] Make some PassManager options to accept comma separated values --- lib/SILOptimizer/PassManager/PassManager.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/SILOptimizer/PassManager/PassManager.cpp b/lib/SILOptimizer/PassManager/PassManager.cpp index 369ad70e03d88..97e59d76fe648 100644 --- a/lib/SILOptimizer/PassManager/PassManager.cpp +++ b/lib/SILOptimizer/PassManager/PassManager.cpp @@ -69,42 +69,42 @@ llvm::cl::opt "whose name contains this substring")); llvm::cl::list - SILPrintBefore("sil-print-before", + SILPrintBefore("sil-print-before", llvm::cl::CommaSeparated, llvm::cl::desc("Print out the sil before passes which " "contain a string from this list.")); llvm::cl::list - SILPrintAfter("sil-print-after", + SILPrintAfter("sil-print-after", llvm::cl::CommaSeparated, llvm::cl::desc("Print out the sil after passes which contain " "a string from this list.")); llvm::cl::list - SILPrintAround("sil-print-around", + SILPrintAround("sil-print-around", llvm::cl::CommaSeparated, llvm::cl::desc("Print out the sil before and after passes " "which contain a string from this list")); llvm::cl::list - SILDisablePass("sil-disable-pass", + SILDisablePass("sil-disable-pass", llvm::cl::CommaSeparated, llvm::cl::desc("Disable passes " "which contain a string from this list")); llvm::cl::list SILVerifyBeforePass( - "sil-verify-before-pass", + "sil-verify-before-pass", llvm::cl::CommaSeparated, llvm::cl::desc("Verify the module/analyses before we run " "a pass from this list")); llvm::cl::list SILVerifyAroundPass( - "sil-verify-around-pass", + "sil-verify-around-pass", llvm::cl::CommaSeparated, llvm::cl::desc("Verify the module/analyses before/after we run " "a pass from this list")); llvm::cl::list - SILVerifyAfterPass("sil-verify-after-pass", + SILVerifyAfterPass("sil-verify-after-pass", llvm::cl::CommaSeparated, llvm::cl::desc("Verify the module/analyses after we run " "a pass from this list")); llvm::cl::list SILForceVerifyAroundPass( - "sil-verify-force-analysis-around-pass", + "sil-verify-force-analysis-around-pass", llvm::cl::CommaSeparated, llvm::cl::desc("For the given passes, precompute analyses before the pass " "and verify analyses after the pass"));