History log of /external/clang/test/CodeGen/exprs.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
93ab6bf534fb6c26563c00f28a8fc5581bb71dfd 15-Aug-2013 Stephen Lin <stephenwlin@gmail.com> CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188447 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
47f5a065fcddbebcd66cf86616365055887f4f00 28-Aug-2012 Benjamin Kramer <benny.kra@googlemail.com> Make test pass in Release builds, which use a different naming scheme for llvm values.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162771 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
212f80d2ef4b79e42e06bb8525c08eae7d550c1e 28-Aug-2012 Michael Liao <michael.liao@intel.com> Merge test case for PR13704 into exprs.c to reduce test cases



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162769 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
8d3d6c93551cc62c6d550f090991bfba1d32d0a4 13-Jan-2011 John McCall <rjmccall@apple.com> Ensure an insertion point at the end of a statement-expression.
Fixes PR8967.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123360 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
fd569004b78124c1041feee75a1e311166268c8d 04-Dec-2010 John McCall <rjmccall@apple.com> Silly special case: never load when dereferencing void*.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120905 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
85515d64c15838eadb3ffe82b635f8217b04be8a 04-Dec-2010 John McCall <rjmccall@apple.com> First pass at implementing the intent of ANSI C DR106.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120904 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
f52697a589c1fdd0ff101c472b904d4546e1d373 21-Aug-2010 Daniel Dunbar <daniel@zuster.org> Improve test coverage.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111712 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
986b5d156daa3c4463b2ad75df5ece0fc6e1866f 29-Jun-2010 Daniel Dunbar <daniel@zuster.org> tests: Fix test to not depend on instruction names.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107186 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
ce88d0f015344255d6367914374629fbadb99b94 28-Jun-2010 Chris Lattner <sabre@nondot.org> tweak test to pass on windows


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107040 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
4ac0d83090c750bd8ab2c4fc91a6a44c32884cb3 28-Jun-2010 Chris Lattner <sabre@nondot.org> Fix UnitTests/2004-02-02-NegativeZero.c, which regressed when
I broke negate of FP values.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107019 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
f70d857cbd79b24cb69f4990e31175e95e679a31 27-Jun-2010 Chris Lattner <sabre@nondot.org> merge two tests.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106971 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
9269d5c05bebe634dc9f08a37b192c6977fbc067 27-Jun-2010 Chris Lattner <sabre@nondot.org> Implement rdar://7530813 - collapse multiple GEP instructions in IRgen

This avoids generating two gep's for common array operations. Before
we would generate something like:

%tmp = load i32* %X.addr ; <i32> [#uses=1]
%arraydecay = getelementptr inbounds [100 x i32]* %A, i32 0, i32 0 ; <i32*> [#uses=1]
%arrayidx = getelementptr inbounds i32* %arraydecay, i32 %tmp ; <i32*> [#uses=1]
%tmp1 = load i32* %arrayidx ; <i32> [#uses=1]

Now we generate:

%tmp = load i32* %X.addr ; <i32> [#uses=1]
%arrayidx = getelementptr inbounds [100 x i32]* %A, i32 0, i32 %tmp ; <i32*> [#uses=1]
%tmp1 = load i32* %arrayidx ; <i32> [#uses=1]

Less IR is better at -O0.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106966 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
a4d71455f0d418e16cc0c5c5aa55a3bad3494aee 26-Jun-2010 Chris Lattner <sabre@nondot.org> Implement support for -fwrapv, rdar://7221421

As part of this, pull together trapv handling into the same enum.

This also add support for NSW multiplies.

This also makes PCH disagreement on overflow behavior silent, since it
really doesn't matter except for warnings and codegen (no macros get
defined etc).



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106956 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
e70ffd631179c15d358838464425e3464cf05a98 26-Jun-2010 Chris Lattner <sabre@nondot.org> implement rdar://7432000 - signed negate should codegen as NSW.
While I'm in there, adjust pointer to member adjustments as well.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106955 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.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/exprs.c
c08582ba5eef9383702fd3e434de1a6f2f470e3c 07-Dec-2009 Chris Lattner <sabre@nondot.org> add 'F' to a bunch of libm builtins so that codegen doesn't die on them,
pointed out by Charles Davis.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90736 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
1eb4433ac451dc16f4133a88af2d002ac26c58ef 09-Sep-2009 Mike Stump <mrs@apple.com> Remove tabs, and whitespace cleanups.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81346 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
c36541e7bfa69cc63e2668a986bc99117559c545 21-Jul-2009 Mike Stump <mrs@apple.com> Prep for new warning.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76638 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
7a574ccd5247189693e0764bf1f5711d33ca6064 12-May-2009 Chris Lattner <sabre@nondot.org> implement l-value codegen of comma expr


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71595 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
654599454c8e6cc83b1b9b3af43c49c2f66a26cb 25-Apr-2009 Chris Lattner <sabre@nondot.org> fix PR4067: [Linux kernel] cannot aggregate codegen stmtexpr as lvalue


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70067 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
f0a990c2aa0b596a7e3cdd8fa2a5909d591ffe66 22-Apr-2009 Chris Lattner <sabre@nondot.org> fix PR4026: Clang can't codegen __func__ without implicit cast


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69747 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
9034558f2f9ac1dc6bd2e74f4481ca62fce28718 24-Mar-2009 Daniel Dunbar <daniel@zuster.org> Support member reference on ?: of struct type.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67603 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.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/exprs.c
40f929242a58103f7883e7dbe2415787895b5cbe 18-Mar-2009 Chris Lattner <sabre@nondot.org> fix the more complex cases by actually codegen'ing the right expr :)


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67219 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
75dfedaf702822c9e51a4f3c5d3ecf2d2ad99272 18-Mar-2009 Chris Lattner <sabre@nondot.org> add codegen support for casting an element to a union.
There are some more complex cases (_Complex and structs)
that I'm still working on.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67218 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
8cc9d08eb8b2652ca939d724ab64dec906e418a0 18-Mar-2009 Chris Lattner <sabre@nondot.org> fix PR3809, codegen for inc/dec of function pointers.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67165 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
c3953a61f7e2a9919ce18d418f8b26a8612e87f2 18-Mar-2009 Chris Lattner <sabre@nondot.org> teach codegen to handle noop casts as lvalues.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67164 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
e5ed15195b71b8fa440e67d49db0168bb58e4e8a 11-Feb-2009 Chris Lattner <sabre@nondot.org> finish off codegen support for sub of pointer to functions,
finishing off rdar://6520707


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64295 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
a468d34bed16861f25aff6c8354f4e75d3358c1a 19-Nov-2008 Nuno Lopes <nunoplopes@sapo.pt> fix folding of '*doubleArray'

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59647 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
f9ef0c675b12ab53fdd6c4e3e7226d066d293e99 16-Nov-2008 Nuno Lopes <nunoplopes@sapo.pt> fix folding of comma if given a non-constant operand.
Eli please take a look, as I'm not sure if this gets the extension warning in the right place

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59422 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
3cc5e5b5268d7359c818ca5a2b62a339923020c4 28-Jun-2008 Chris Lattner <sabre@nondot.org> Fix a bug where we didn't promote 'const float' (or typedefs) to
double in some places.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52846 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
a269ebfd91c4fa47e051fa1fa904833a022fe025 21-Feb-2008 Chris Lattner <sabre@nondot.org> implement codegen support for sizeof(void), fixing PR2080.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47429 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
6860f3cef7d5ed22cf7626e357c202124c43c899 31-Jan-2008 Chris Lattner <sabre@nondot.org> Fix PR1921 by promoting negative indices to intptrty.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46599 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
01e3c9e06db9ba5729272879c2c9c4659354e707 30-Jan-2008 Chris Lattner <sabre@nondot.org> fix a problem reported by Eli, caused by not keeping bool as i1
when in a register.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46552 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
8f925280abe3795ae0fb47f2ba90faea62e26af4 03-Jan-2008 Chris Lattner <sabre@nondot.org> Fix a crash reported by Seo Sanghyeon.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45530 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/exprs.c
efdd1574e3cca00ef0410aee8b7ee36eda5a2f71 02-Jan-2008 Chris Lattner <sabre@nondot.org> Fix PR1895: a crash on an ugly gcc extension.


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