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 | 1887c1c2f99903d13406e723f2dcbab4511e3f49 (patch) | |
tree | a41725c80694a8834cd1eb9557d175b2880cb389 /test/CodeGen/X86/byval5.ll | |
parent | 66b17ba0d263442b8b4e82aaa08acc0df85e1787 (diff) | |
download | llvm-1887c1c2f99903d13406e723f2dcbab4511e3f49.tar.gz llvm-1887c1c2f99903d13406e723f2dcbab4511e3f49.tar.bz2 llvm-1887c1c2f99903d13406e723f2dcbab4511e3f49.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55139 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/byval5.ll')
-rw-r--r-- | test/CodeGen/X86/byval5.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/byval5.ll b/test/CodeGen/X86/byval5.ll index fd9c197bbf..c6f4588dd4 100644 --- a/test/CodeGen/X86/byval5.ll +++ b/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, |