[llvm-commits] [llvm] r142439 - /llvm/trunk/lib/Target/X86/X86TargetMachine.cpp
Eric Christopher
echristo at apple.com
Tue Oct 18 15:50:17 PDT 2011
Author: echristo
Date: Tue Oct 18 17:50:17 2011
New Revision: 142439
URL: http://llvm.org/viewvc/llvm-project?rev=142439&view=rev
Log:
Turn on the vzeroupper pass by default.
I'll remove/rename the option in a few days.
Modified:
llvm/trunk/lib/Target/X86/X86TargetMachine.cpp
Modified: llvm/trunk/lib/Target/X86/X86TargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86TargetMachine.cpp?rev=142439&r1=142438&r2=142439&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86TargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86TargetMachine.cpp Tue Oct 18 17:50:17 2011
@@ -102,7 +102,7 @@
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
More information about the llvm-commits
mailing list