Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
1b51b7fc7f99f1d291284d83aaa8bcc4ce5fd62c
/
clang
/
test
/
CodeGen
/
byval-memcpy-elim.c
4362261
CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail.
by Stephen Lin
· 12 years ago
eb7fab6
The LLVM IR representation of byval arguments has a rather strange property: if the alignment of an argument to a call is less than the specified byval alignment for that argument, there is no way to specify the alignment of the implied copy. Therefore, we must ensure that the alignment of the argument is at least the byval alignment. To do this, we have to mess with the alignment of relevant alloca's in some cases, and insert a copy that conceptually shouldn't be necessary in some cases.
by Eli Friedman
· 14 years ago
df96819
Skip extra copy from aggregate where it isn't necessary; rdar://problem/8139919 . This shouldn't make much of a difference at -O3, but should substantially reduce the number of generated memcpy's at -O0.
by Eli Friedman
· 14 years ago
9ca54655
Revert r130717, which caused a regression (<rdar://problem/9402621>).
by Douglas Gregor
· 14 years ago
30458b5
Skip extra copy from aggregate where it isn't necessary; rdar://problem/8139919 . This shouldn't make much of a difference at -O3, but should substantially reduce the number of generated memcpy's at -O0.
by Eli Friedman
· 15 years ago