summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp2
-rw-r--r--llvm/lib/Target/SparcV9/LiveVar/FunctionLiveVarInfo.cpp2
-rw-r--r--llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp2
-rw-r--r--llvm/lib/VMCore/PassManagerT.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp b/llvm/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp
index c5dc7c7d6e6..0c12fe42271 100644
--- a/llvm/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp
+++ b/llvm/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp
@@ -57,7 +57,7 @@ namespace {
clEnumValN(Select_DebugInstTrees, "i",
"print debugging info for instruction selection"),
clEnumValN(Select_DebugBurgTrees, "b", "print burg trees"),
- 0));
+ clEnumValEnd));
//===--------------------------------------------------------------------===//
diff --git a/llvm/lib/Target/SparcV9/LiveVar/FunctionLiveVarInfo.cpp b/llvm/lib/Target/SparcV9/LiveVar/FunctionLiveVarInfo.cpp
index 719a1a8a344..4a8ada91238 100644
--- a/llvm/lib/Target/SparcV9/LiveVar/FunctionLiveVarInfo.cpp
+++ b/llvm/lib/Target/SparcV9/LiveVar/FunctionLiveVarInfo.cpp
@@ -40,7 +40,7 @@ clEnumValN(LV_DEBUG_Normal , "y", "enable debug output"),
clEnumValN(LV_DEBUG_Instr, "i", "print live-var sets before/after "
"every machine instrn"),
clEnumValN(LV_DEBUG_Verbose, "v", "print def, use sets for every instrn also"),
- 0));
+ clEnumValEnd));
diff --git a/llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp b/llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp
index 95756db2412..a153871d80c 100644
--- a/llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp
+++ b/llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp
@@ -63,7 +63,7 @@ DRA_opt("dregalloc", cl::Hidden, cl::location(DEBUG_RA),
clEnumValN(RA_DEBUG_Interference,"ig","debug output for interference graphs"),
clEnumValN(RA_DEBUG_LiveRanges , "lr","debug output for live ranges"),
clEnumValN(RA_DEBUG_Verbose, "v", "extra debug output"),
- 0));
+ clEnumValEnd));
/// The reoptimizer wants to be able to grovel through the register
/// allocator's state after it has done its job. This is a hack.
diff --git a/llvm/lib/VMCore/PassManagerT.h b/llvm/lib/VMCore/PassManagerT.h
index 5d50e721939..463888a56db 100644
--- a/llvm/lib/VMCore/PassManagerT.h
+++ b/llvm/lib/VMCore/PassManagerT.h
@@ -52,7 +52,7 @@ PassDebugging("debug-pass", cl::Hidden,
clEnumVal(Structure , "print pass structure before run()"),
clEnumVal(Executions, "print pass name before it is executed"),
clEnumVal(Details , "print pass details when it is executed"),
- 0));
+ clEnumValEnd));
//===----------------------------------------------------------------------===//
// PMDebug class - a set of debugging functions, that are not to be
OpenPOWER on IntegriCloud