[llvm-commits] [llvm] r142439 - /llvm/trunk/lib/Target/X86/X86TargetMachine.cpp

Eli Friedman eli.friedman at gmail.com
Tue Oct 18 16:05:37 PDT 2011


On Tue, Oct 18, 2011 at 3:50 PM, Eric Christopher <echristo at apple.com> wrote:
> 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.

Is the VZEROUPPER pass really ready?  I was under the impression it
was missing some rather important functionality (e.g. it inserts
VZEROUPPER calls into modules which don't use the ymm registers at
all).

-Eli

> 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
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>




More information about the llvm-commits mailing list