summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/PRE.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Transforms/Scalar/PRE.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/PRE.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Scalar/PRE.cpp b/llvm/lib/Transforms/Scalar/PRE.cpp
index 770cd44d75f..88d9143d071 100644
--- a/llvm/lib/Transforms/Scalar/PRE.cpp
+++ b/llvm/lib/Transforms/Scalar/PRE.cpp
@@ -35,13 +35,12 @@
#include "Support/PostOrderIterator.h"
#include "Support/Statistic.h"
#include "Support/hash_set"
-
-namespace llvm {
+using namespace llvm;
namespace {
Statistic<> NumExprsEliminated("pre", "Number of expressions constantified");
Statistic<> NumRedundant ("pre", "Number of redundant exprs eliminated");
- static Statistic<> NumInserted ("pre", "Number of expressions inserted");
+ Statistic<> NumInserted ("pre", "Number of expressions inserted");
struct PRE : public FunctionPass {
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
@@ -633,4 +632,3 @@ bool PRE::ProcessExpression(Instruction *Expr) {
return Changed;
}
-} // End llvm namespace
OpenPOWER on IntegriCloud