summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2016-07-08 16:29:11 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2016-07-08 16:29:11 +0000
commit44540a3db2575258cc28390f70cddc2f6b145938 (patch)
tree33fc0227a8f2f6f71b93bc9ad7c70ab2d619858c /llvm/lib/CodeGen
parent9ebebce2df3253bb897b08039b6bc7d99ac29cd0 (diff)
downloadbcm5719-llvm-44540a3db2575258cc28390f70cddc2f6b145938.tar.gz
bcm5719-llvm-44540a3db2575258cc28390f70cddc2f6b145938.zip
PeepholeOptimizer: Make pass name match DEBUG_TYPE
llvm-svn: 274874
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/PeepholeOptimizer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/PeepholeOptimizer.cpp b/llvm/lib/CodeGen/PeepholeOptimizer.cpp
index b9b905375b9..60b27dd75a8 100644
--- a/llvm/lib/CodeGen/PeepholeOptimizer.cpp
+++ b/llvm/lib/CodeGen/PeepholeOptimizer.cpp
@@ -394,10 +394,10 @@ namespace {
char PeepholeOptimizer::ID = 0;
char &llvm::PeepholeOptimizerID = PeepholeOptimizer::ID;
-INITIALIZE_PASS_BEGIN(PeepholeOptimizer, "peephole-opts",
+INITIALIZE_PASS_BEGIN(PeepholeOptimizer, DEBUG_TYPE,
"Peephole Optimizations", false, false)
INITIALIZE_PASS_DEPENDENCY(MachineDominatorTree)
-INITIALIZE_PASS_END(PeepholeOptimizer, "peephole-opts",
+INITIALIZE_PASS_END(PeepholeOptimizer, DEBUG_TYPE,
"Peephole Optimizations", false, false)
/// If instruction is a copy-like instruction, i.e. it reads a single register
OpenPOWER on IntegriCloud