//===----------------------------------------------------------------------===//
// 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
return Changed;
}
-bool isCallToModuleFn(const MachineInstr *MI) {
+static bool isCallToModuleFn(const MachineInstr *MI) {
assert(MI->getDesc().isCall() && "Isn't a call instruction");
for (int i = 0, e = MI->getNumOperands(); i != e; ++i) {