diff options
Diffstat (limited to 'llvm/include/llvm/Transforms/Scalar/SimplifyCFG.h')
-rw-r--r-- | llvm/include/llvm/Transforms/Scalar/SimplifyCFG.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/include/llvm/Transforms/Scalar/SimplifyCFG.h b/llvm/include/llvm/Transforms/Scalar/SimplifyCFG.h index ef28e0f78a4..6a102c5b7d8 100644 --- a/llvm/include/llvm/Transforms/Scalar/SimplifyCFG.h +++ b/llvm/include/llvm/Transforms/Scalar/SimplifyCFG.h @@ -25,12 +25,10 @@ namespace llvm { /// This pass iteratively simplifies the entire CFG of a function, removing /// unnecessary control flows and bringing it into the canonical form expected /// by the rest of the mid-level optimizer. -class SimplifyCFGPass { +class SimplifyCFGPass : public PassBase<SimplifyCFGPass> { int BonusInstThreshold; public: - static StringRef name() { return "SimplifyCFGPass"; } - /// \brief Construct a pass with the default thresholds. SimplifyCFGPass(); |