History log of /external/clang/test/CodeGen/compound-literal.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1723f6398ea8aa8d602a478f47695bf3b0374d35 07-Mar-2013 John McCall <rjmccall@apple.com> Evaluate compound literals directly into the result aggregate
when that aggregate isn't potentially aliased.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176654 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/compound-literal.c
060ddb0173ba91cd400f073ed0bd1f9b9c3a4d50 09-May-2012 Nuno Lopes <nunoplopes@sapo.pt> hopefully fix a bunch of ARM buildbot failures

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156513 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/compound-literal.c
dedb362adc4b0f51a0f30399791360017bbacd59 22-Dec-2011 Eli Friedman <eli.friedman@gmail.com> Fix a silly mistake in this test that somehow slipped into my last commit.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147112 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/compound-literal.c
58c65fcb909c9c25d06507bcf41eb630b3d5e2da 22-Dec-2011 Eli Friedman <eli.friedman@gmail.com> Fix a failure (which led to a crash) in constant emission code with vector compound literals.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147111 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/compound-literal.c
ebfbf9f0053f99e8681f64c57c8f7ca1f1b48a4d 17-Jun-2011 Douglas Gregor <dgregor@apple.com> Loosen up the IR matching slightly

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133263 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/compound-literal.c
673e98b4814642eb040a661fcc0f7953edd4c150 17-Jun-2011 Douglas Gregor <dgregor@apple.com> When emitting a compound literal of POD type, continue to emit a
separate aggregate temporary and then memcpy it over to the
destination. This fixes a regression I introduced with r133235, where
the compound literal on the RHS of an assignment makes use of the
structure on the LHS of the assignment.

I'm deeply suspicious of AggExprEmitter::VisitBinAssign()'s
optimization where it emits the RHS of an aggregate assignment
directly into the LHS lvalue without checking whether there is any
aliasing between the LHS/RHS. However, I'm not in a position to
revisit this now.

Big thanks to Eli for finding the regression!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133261 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/compound-literal.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/compound-literal.c
d7d5f0223bd30dfd618762349c6209dd1d5ea3e6 24-Mar-2009 Daniel Dunbar <daniel@zuster.org> Rename clang to clang-cc.

Tests and drivers updated, still need to shuffle dirs.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67602 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/compound-literal.c
19119a819dfc50494187f6cf090abacccb45c278 19-May-2008 Eli Friedman <eli.friedman@gmail.com> Remove illegal test.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51267 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/compound-literal.c
06e863f2902b8ba55b056308875c19f7ba3dab25 14-May-2008 Eli Friedman <eli.friedman@gmail.com> Add codegen support for block-level compound literals.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51081 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/compound-literal.c