Turn on the vzeroupper pass by default.
authorEric Christopher <echristo@apple.com>
Tue, 18 Oct 2011 22:50:17 +0000 (22:50 +0000)
committerEric Christopher <echristo@apple.com>
Tue, 18 Oct 2011 22:50:17 +0000 (22:50 +0000)
I'll remove/rename the option in a few days.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142439 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86TargetMachine.cpp

index 15c6c4e7a7d212833a59b6eda52c53fea2e340f5..1978c01aba2af8ecdcca33c2a154d76300d7be73 100644 (file)
@@ -102,7 +102,7 @@ X86TargetMachine::X86TargetMachine(const Target &T, StringRef TT,
 static cl::opt<bool>
 UseVZeroUpper("x86-use-vzeroupper",
   cl::desc("Minimize AVX to SSE transition penalty"),
-  cl::init(false));
+  cl::init(true));
 
 //===----------------------------------------------------------------------===//
 // Pass Pipeline Configuration