mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
[NFC] SimplifyCFGPass::SimplifyCFGPass(): use default SimplifyCFGOptions - we aren't deviating from them here
This commit is contained in:
parent
e0797fbf7b
commit
78ebeae023
@ -34,13 +34,7 @@ public:
|
||||
/// rather than optimal IR. That is, by default we bypass transformations that
|
||||
/// are likely to improve performance but make analysis for other passes more
|
||||
/// difficult.
|
||||
SimplifyCFGPass()
|
||||
: SimplifyCFGPass(SimplifyCFGOptions()
|
||||
.forwardSwitchCondToPhi(false)
|
||||
.convertSwitchToLookupTable(false)
|
||||
.needCanonicalLoops(true)
|
||||
.sinkCommonInsts(false)) {}
|
||||
|
||||
SimplifyCFGPass() {}
|
||||
|
||||
/// Construct a pass with optional optimizations.
|
||||
SimplifyCFGPass(const SimplifyCFGOptions &PassOptions);
|
||||
|
Loading…
Reference in New Issue
Block a user