diff options
Diffstat (limited to 'include/llvm/Transforms/HoistPHIConstants.h')
-rw-r--r-- | include/llvm/Transforms/HoistPHIConstants.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/include/llvm/Transforms/HoistPHIConstants.h b/include/llvm/Transforms/HoistPHIConstants.h index 27bf7ab021..3a1bab1bf1 100644 --- a/include/llvm/Transforms/HoistPHIConstants.h +++ b/include/llvm/Transforms/HoistPHIConstants.h @@ -9,14 +9,7 @@ #ifndef LLVM_TRANSFORMS_HOISTPHICONSTANTS_H #define LLVM_TRANSFORMS_HOISTPHICONSTANTS_H -#include "llvm/Pass.h" - -struct HoistPHIConstants : public MethodPass { - // doHoistPHIConstants - Hoist constants out of PHI instructions - // - static bool doHoistPHIConstants(Method *M); - - virtual bool runOnMethod(Method *M) { return doHoistPHIConstants(M); } -}; +class Pass; +Pass *createHoistPHIConstantsPass(); #endif |