[llvm] fcf0741 - [NewPM] Handle -simplifycfg in opt
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 24 08:20:24 PDT 2020
Author: Arthur Eubanks
Date: 2020-06-24T08:20:08-07:00
New Revision: fcf0741262c6b0f37f641020f0e5f5e3f5468f2d
URL: https://github.com/llvm/llvm-project/commit/fcf0741262c6b0f37f641020f0e5f5e3f5468f2d
DIFF: https://github.com/llvm/llvm-project/commit/fcf0741262c6b0f37f641020f0e5f5e3f5468f2d.diff
LOG: [NewPM] Handle -simplifycfg in opt
Summary:
-simplifycfg is the legacy pass name for SimplifyCFGPass.
There is already -simplify-cfg in FUNCTION_PASS_WITH_PARAMS which
handles options for SimplifyCFGPass. Maybe that should be renamed to
-simplifycfg as well?
This reduces the number of check-llvm failures under NewPM from 2619 to 2392.
Reviewers: hans, leonardchan, asbirlea, ychen
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D82421
Added:
Modified:
llvm/lib/Passes/PassRegistry.def
Removed:
################################################################################
diff --git a/llvm/lib/Passes/PassRegistry.def b/llvm/lib/Passes/PassRegistry.def
index 1edb0fe5c230..c4229d309ca3 100644
--- a/llvm/lib/Passes/PassRegistry.def
+++ b/llvm/lib/Passes/PassRegistry.def
@@ -242,6 +242,7 @@ FUNCTION_PASS("print<stack-safety-local>", StackSafetyPrinterPass(dbgs()))
FUNCTION_PASS("reassociate", ReassociatePass())
FUNCTION_PASS("scalarizer", ScalarizerPass())
FUNCTION_PASS("sccp", SCCPPass())
+FUNCTION_PASS("simplifycfg", SimplifyCFGPass())
FUNCTION_PASS("sink", SinkingPass())
FUNCTION_PASS("slp-vectorizer", SLPVectorizerPass())
FUNCTION_PASS("speculative-execution", SpeculativeExecutionPass())
More information about the llvm-commits
mailing list