diff options
author | Preston Gurd <preston.gurd@intel.com> | 2013-04-25 20:29:37 +0000 |
---|---|---|
committer | Preston Gurd <preston.gurd@intel.com> | 2013-04-25 20:29:37 +0000 |
commit | d6ac8e9a03d8fa7115079d86192bc4529e8281aa (patch) | |
tree | 9553fbaac5e6badb3c220a49e83147e96b44c70f /lib/Target/X86/X86Subtarget.cpp | |
parent | 975b1ddf60387139357c8cbbaeb613de5a39294f (diff) | |
download | llvm-d6ac8e9a03d8fa7115079d86192bc4529e8281aa.tar.gz llvm-d6ac8e9a03d8fa7115079d86192bc4529e8281aa.tar.bz2 llvm-d6ac8e9a03d8fa7115079d86192bc4529e8281aa.tar.xz |
This patch adds the X86FixupLEAs pass, which will reduce instruction
latency for certain models of the Intel Atom family, by converting
instructions into their equivalent LEA instructions, when it is both
useful and possible to do so.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180573 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86Subtarget.cpp')
-rw-r--r-- | lib/Target/X86/X86Subtarget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/X86/X86Subtarget.cpp b/lib/Target/X86/X86Subtarget.cpp index 14619b6392..448d2e6054 100644 --- a/lib/Target/X86/X86Subtarget.cpp +++ b/lib/Target/X86/X86Subtarget.cpp @@ -467,6 +467,7 @@ void X86Subtarget::initializeEnvironment() { PostRAScheduler = false; PadShortFunctions = false; CallRegIndirect = false; + LEAUsesAG = false; stackAlignment = 4; // FIXME: this is a known good value for Yonah. How about others? MaxInlineSizeThreshold = 128; |