diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-01-06 07:58:36 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-01-06 07:58:36 +0000 |
commit | 461f1fc359dff438dad25e809499845b10a3d032 (patch) | |
tree | 143a2a682ffdd84409d6bd1673e22630d42d565e /test/CodeGen/X86/2010-09-17-SideEffectsInChain.ll | |
parent | cce240d26bbf1c2bec9cfff4838d8d807b215586 (diff) | |
download | llvm-461f1fc359dff438dad25e809499845b10a3d032.tar.gz llvm-461f1fc359dff438dad25e809499845b10a3d032.tar.bz2 llvm-461f1fc359dff438dad25e809499845b10a3d032.tar.xz |
Use movups to lower memcpy and memset even if it's not fast (like corei7).
The theory is it's still faster than a pair of movq / a quad of movl. This
will probably hurt older chips like P4 but should run faster on current
and future Intel processors. rdar://8817010
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122955 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2010-09-17-SideEffectsInChain.ll')
-rw-r--r-- | test/CodeGen/X86/2010-09-17-SideEffectsInChain.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/X86/2010-09-17-SideEffectsInChain.ll b/test/CodeGen/X86/2010-09-17-SideEffectsInChain.ll index 8fe0309421..66dc0eabac 100644 --- a/test/CodeGen/X86/2010-09-17-SideEffectsInChain.ll +++ b/test/CodeGen/X86/2010-09-17-SideEffectsInChain.ll @@ -19,8 +19,8 @@ entry: } ; CHECK: movq ___stack_chk_guard@GOTPCREL(%rip), %rax -; CHECK: movb 30(%rsp), %dl -; CHECK: movb (%rsp), %sil -; CHECK: movb %sil, (%rsp) -; CHECK: movb %dl, 30(%rsp) +; CHECK: movb 30(%rsp), %cl +; CHECK: movb (%rsp), %dl +; CHECK: movb %dl, (%rsp) +; CHECK: movb %cl, 30(%rsp) ; CHECK: callq ___stack_chk_fail |