diff options
| author | Matthias Braun <matze@braunis.de> | 2017-05-25 21:26:32 +0000 |
|---|---|---|
| committer | Matthias Braun <matze@braunis.de> | 2017-05-25 21:26:32 +0000 |
| commit | 1527baab0ca1e449340d09a33a32cd01053f3241 (patch) | |
| tree | 03842ea734eb7882b9512ae00a6894aecbf2c7e2 /llvm/lib/CodeGen/OptimizePHIs.cpp | |
| parent | 2897e0306efe62703bad8e1234334fefccf2ae37 (diff) | |
| download | bcm5719-llvm-1527baab0ca1e449340d09a33a32cd01053f3241.tar.gz bcm5719-llvm-1527baab0ca1e449340d09a33a32cd01053f3241.zip | |
CodeGen: Rename DEBUG_TYPE to match passnames
Rename the DEBUG_TYPE to match the names of corresponding passes where
it makes sense. Also establish the pattern of simply referencing
DEBUG_TYPE instead of repeating the passname where possible.
llvm-svn: 303921
Diffstat (limited to 'llvm/lib/CodeGen/OptimizePHIs.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/OptimizePHIs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/OptimizePHIs.cpp b/llvm/lib/CodeGen/OptimizePHIs.cpp index 2a8531f337a..76ad668104b 100644 --- a/llvm/lib/CodeGen/OptimizePHIs.cpp +++ b/llvm/lib/CodeGen/OptimizePHIs.cpp @@ -23,7 +23,7 @@ #include "llvm/Target/TargetSubtargetInfo.h" using namespace llvm; -#define DEBUG_TYPE "phi-opt" +#define DEBUG_TYPE "opt-phis" STATISTIC(NumPHICycles, "Number of PHI cycles replaced"); STATISTIC(NumDeadPHICycles, "Number of dead PHI cycles"); @@ -59,7 +59,7 @@ namespace { char OptimizePHIs::ID = 0; char &llvm::OptimizePHIsID = OptimizePHIs::ID; -INITIALIZE_PASS(OptimizePHIs, "opt-phis", +INITIALIZE_PASS(OptimizePHIs, DEBUG_TYPE, "Optimize machine instruction PHIs", false, false) bool OptimizePHIs::runOnMachineFunction(MachineFunction &Fn) { |

