736a9c211c065784f7a7889ade55aa569a89520e |
|
24-Aug-2011 |
Eric Christopher <echristo@apple.com> |
Make constant aggregate constant initializers private linkage. After talking with John making this the case for all of these is the right way to go. Fixes rdar://9804564 and PR10414 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138418 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/decl.c
|
9cbe4f0ba01ec304e1e3d071c071f7bca33631c0 |
|
09-Jul-2011 |
Chris Lattner <sabre@nondot.org> |
clang side to match the LLVM IR type system rewrite patch. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134831 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/decl.c
|
460980d3b9d045288041bf8b826899795c60ca1d |
|
28-May-2011 |
Eli Friedman <eli.friedman@gmail.com> |
Add unnamed_addr to internal globals which are only used as an operand to memcpy. (Spotted by looking at IR.) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132226 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/decl.c
|
4707b9acf75c68c90278757ffd6a05b2544bc1eb |
|
07-Mar-2011 |
Douglas Gregor <dgregor@apple.com> |
Revert r126422 "Use private linkage to avoid symbol conflicts in corner cases like the one in PR9301." which caused PR9416. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127136 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/decl.c
|
bab380c2c8b3527e0448eb6252bc75f0de37fbca |
|
24-Feb-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Use private linkage to avoid symbol conflicts in corner cases like the one in PR9301. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126422 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/decl.c
|
a9fa85841102e81daaa23650d89b120fe9dacedc |
|
01-Jul-2010 |
Chris Lattner <sabre@nondot.org> |
fix rdar://8147692 - yet another crash due to my abi work. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107387 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/decl.c
|
bcaedaed309ce453a992fdeef4a4c908cc7d9dfb |
|
30-Jun-2010 |
Chris Lattner <sabre@nondot.org> |
Reapply: r107173, "fix PR7519: after thrashing around and remembering how all this stuff" r107216, "fix PR7523, which was caused by the ABI code calling ConvertType instead" This includes a fix to make ConvertTypeForMem handle the "recursive" case, and call it as such when lowering function types which have an indirect result. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107310 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/decl.c
|
7bbe03d8ae0772d89f6539d073dd43e49268a42c |
|
30-Jun-2010 |
Daniel Dunbar <daniel@zuster.org> |
Revert r107173, "fix PR7519: after thrashing around and remembering how all this stuff", it broke bootstrap. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107232 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/decl.c
|
376fe5e7800dface235c5382b39d77790d39dfa7 |
|
29-Jun-2010 |
Chris Lattner <sabre@nondot.org> |
fix PR7519: after thrashing around and remembering how all this stuff works, the fix is quite simple: just make sure to call ConvertTypeRecursive when the function type being lowered is in the midst of ConvertType. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107173 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/decl.c
|
d39a0d6119a3bf69e3e5149b778e825b77b2e06a |
|
16-Apr-2010 |
Chris Lattner <sabre@nondot.org> |
fix a bogus assertion exposed by a recent change: packing the struct may cause it to shrink more than one byte. Before my recent changes we compiled the new test into: %0 = type { [6 x i8] } @x = global %0 { [6 x i8] undef }, align 2 ; <%0*> [#uses=0] which is obviously bogus. Now we compile it into: %0 = type <{ i32, i8, i8 }> @x = global %0 zeroinitializer, align 2 ; <%0*> [#uses=0] Where the last byte only is tail padding. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101536 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/decl.c
|
cdb30b41590bf9e20d1d46a866fce071ebadf21a |
|
16-Apr-2010 |
Nuno Lopes <nunoplopes@sapo.pt> |
emit padding as undef values, take 2 merge also a few tests I had here for this feature, and FileCheck'ize one file git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101535 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/decl.c
|
8ce9e451b421e4c941bc120bcc7f422457656d63 |
|
13-Apr-2010 |
Chris Lattner <sabre@nondot.org> |
Rework the ConstStructBuilder code to emit missing initializer elements with explicit zero values instead of with tail padding. On an example like this: struct foo { int a; int b; }; struct foo fooarray[] = { {1, 2}, {4}, }; We now lay this out as: @fooarray = global [2 x %struct.foo] [%struct.foo { i32 1, i32 2 }, %struct.foo { i32 4, i32 0 }] instead of as: @fooarray = global %0 <{ %struct.foo { i32 1, i32 2 }, %1 { i32 4, [4 x i8] zeroinitializer } }> Preserving both the struct type of the second element, but also the array type of the entire thing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101155 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/decl.c
|
0eea9f92b4972bbdf63a6ec97a2a85107c07d7ee |
|
12-Apr-2010 |
Chris Lattner <sabre@nondot.org> |
fix PR6660/6168: emit padding as zeros instead of undef. Because trailing fields may not be represented in initializer lists, they are being handled as padding and those fields *must* be zero initialized. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101067 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/decl.c
|
a5728872c7702ddd09537c95bc3cbd20e1f2fb09 |
|
15-Dec-2009 |
Daniel Dunbar <daniel@zuster.org> |
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91446 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/decl.c
|
6ef83ccad1399bfc94f40a7bb593a8318a1e8fd9 |
|
08-Dec-2009 |
Daniel Dunbar <daniel@zuster.org> |
Remove include of system header. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90883 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/decl.c
|
7c176fac847ea4dcdb344dc5b26f44bf1cd48e91 |
|
05-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
fix comment. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90660 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/decl.c
|
36a2be162dda758e55d6605ef712494fe09ef432 |
|
05-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
consolidate some tests. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90659 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/decl.c
|
761acc19d966a67f2175783d09412d6ac9463400 |
|
05-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
implement rdar://7346691 by codegen'ing struct/array initializers to a memset or a memcpy from a global when possible. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90658 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/decl.c
|
ff933b709777ce535efb455a10dd487de5694998 |
|
05-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
simplify a condition and add a testcase. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90652 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/decl.c
|