diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-08-21 21:00:15 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-08-21 21:00:15 +0000 |
commit | 9534ea03e89d46eece6f892f38fa8da331828249 (patch) | |
tree | 4145e68e9d23d12d5f52749ffa5479d38d34d329 /llvm/test/CodeGen/X86/byval5.ll | |
parent | d2850538db5acce4b14e1c173e9c76722129d602 (diff) | |
download | bcm5719-llvm-9534ea03e89d46eece6f892f38fa8da331828249.tar.gz bcm5719-llvm-9534ea03e89d46eece6f892f38fa8da331828249.zip |
Fix a number of byval / memcpy / memset related codegen issues.
1. x86-64 byval alignment should be max of 8 and alignment of type. Previously the code was not doing what the commit message was saying.
2. Do not use byte repeat move and store operations. These are slow.
llvm-svn: 55139
Diffstat (limited to 'llvm/test/CodeGen/X86/byval5.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/byval5.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/byval5.ll b/llvm/test/CodeGen/X86/byval5.ll index fd9c197bbfd..c6f4588dd45 100644 --- a/llvm/test/CodeGen/X86/byval5.ll +++ b/llvm/test/CodeGen/X86/byval5.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=x86-64 | grep rep.movsb | count 2 +; RUN: llvm-as < %s | llc -march=x86-64 | grep rep.movsq | count 2 ; RUN: llvm-as < %s | llc -march=x86 | grep rep.movsl | count 2 %struct.s = type { i8, i8, i8, i8, i8, i8, i8, i8, |