aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/lsr-static-addr.ll
diff options
context:
space:
mode:
authorPreston Gurd <preston.gurd@intel.com>2013-04-25 20:29:37 +0000
committerPreston Gurd <preston.gurd@intel.com>2013-04-25 20:29:37 +0000
commitd6ac8e9a03d8fa7115079d86192bc4529e8281aa (patch)
tree9553fbaac5e6badb3c220a49e83147e96b44c70f /test/CodeGen/X86/lsr-static-addr.ll
parent975b1ddf60387139357c8cbbaeb613de5a39294f (diff)
downloadexternal_llvm-d6ac8e9a03d8fa7115079d86192bc4529e8281aa.zip
external_llvm-d6ac8e9a03d8fa7115079d86192bc4529e8281aa.tar.gz
external_llvm-d6ac8e9a03d8fa7115079d86192bc4529e8281aa.tar.bz2
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 'test/CodeGen/X86/lsr-static-addr.ll')
-rw-r--r--test/CodeGen/X86/lsr-static-addr.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/lsr-static-addr.ll b/test/CodeGen/X86/lsr-static-addr.ll
index 6566f56..b2aea90 100644
--- a/test/CodeGen/X86/lsr-static-addr.ll
+++ b/test/CodeGen/X86/lsr-static-addr.ll
@@ -17,7 +17,7 @@
; ATOM-NEXT: movsd A(,%rax,8)
; ATOM-NEXT: mulsd
; ATOM-NEXT: movsd
-; ATOM-NEXT: incq %rax
+; ATOM-NEXT: leaq 1(%rax), %rax
@A = external global [0 x double]