mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
[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
This commit is contained in:
parent
ddbad0ce22
commit
9f908e82df
@ -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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user