diff options
Diffstat (limited to 'lib/Transforms/Scalar/GCSE.cpp')
-rw-r--r-- | lib/Transforms/Scalar/GCSE.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/GCSE.cpp b/lib/Transforms/Scalar/GCSE.cpp index b864760e68..cb24a0cbfc 100644 --- a/lib/Transforms/Scalar/GCSE.cpp +++ b/lib/Transforms/Scalar/GCSE.cpp @@ -30,6 +30,10 @@ namespace { DominatorSet *DomSetInfo; ImmediateDominators *ImmDominator; public: + const char *getPassName() const { + return "Global Common Subexpression Elimination"; + } + virtual bool runOnFunction(Function *F); // Visitation methods, these are invoked depending on the type of |