diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2007-10-19 10:41:11 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2007-10-19 10:41:11 +0000 |
commit | 846c19dd7003d5de701a12ecdf31af8615bdfc1a (patch) | |
tree | 64abf09b2cdfefb3bb63ec00d0e5ce7c2b3f3c1d /llvm/test/CodeGen/X86/byval3.ll | |
parent | e5a64485339ecaf21f6f57350a2a8c30a60c18f9 (diff) | |
download | bcm5719-llvm-846c19dd7003d5de701a12ecdf31af8615bdfc1a.tar.gz bcm5719-llvm-846c19dd7003d5de701a12ecdf31af8615bdfc1a.zip |
Add support for byval function whose argument is not 32 bit aligned.
To do this it is necessary to add a "always inline" argument to the
memcpy node. For completeness I have also added this node to memmove
and memset. I have also added getMem* functions, because the extra
argument makes it cumbersome to use getNode and because I get confused
by it :-)
llvm-svn: 43172
Diffstat (limited to 'llvm/test/CodeGen/X86/byval3.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/byval3.ll | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/byval3.ll b/llvm/test/CodeGen/X86/byval3.ll index f4942869687..b3794eccb46 100644 --- a/llvm/test/CodeGen/X86/byval3.ll +++ b/llvm/test/CodeGen/X86/byval3.ll @@ -1,4 +1,5 @@ ; RUN: llvm-as < %s | llc -march=x86-64 | grep rep.movsl | count 2 +; RUN: llvm-as < %s | llc -march=x86 | grep rep.movsl | count 2 %struct.s = type { i32, i32, i32, i32, i32, i32 } |