Use internal storage for command line option.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139079 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer
2011-09-03 03:45:06 +00:00
parent 17fe6c48ff
commit c53479d9c2
2 changed files with 4 additions and 6 deletions

View File

@@ -95,12 +95,10 @@ X86TargetMachine::X86TargetMachine(const Target &T, StringRef TT,
//===----------------------------------------------------------------------===//
// Command line options for x86
//===----------------------------------------------------------------------===//
bool UseVZeroUpper;
static cl::opt<bool, true>
VZeroUpper("x86-use-vzeroupper",
static cl::opt<bool>
UseVZeroUpper("x86-use-vzeroupper",
cl::desc("Minimize AVX to SSE transition penalty"),
cl::location(UseVZeroUpper), cl::init(false));
cl::init(false));
//===----------------------------------------------------------------------===//
// Pass Pipeline Configuration