llvm-project/clang/test/CodeGen
Lauro Ramos Venancio e2162c6549 Simplify aggregate initilizer implementation. Use the CodeGenModule::EmitConstantExpr method when
possible.
Fix mediabench/mpeg2/mpeg2dec test.

llvm-svn: 47336
2008-02-19 19:27:31 +00:00
..
2007-11-29-ArraySizeFromInitializer.c Commit test for CL 44440. 2007-12-02 07:47:19 +00:00
2008-02-07-bitfield-bug.c Fix codegen of 2008-02-07 18:18:58 +00:00
2008-02-08-bitfield-bug.c Fix a bitfield regression. Reported by Anders Carlsson. 2008-02-08 19:46:46 +00:00
OpaqueStruct.c Convert opaque type when struct definition is seen. 2007-12-21 19:35:28 +00:00
address-space.c Add ending newline to test. 2008-02-04 02:35:11 +00:00
array.c Codegen array initializers. 2007-10-26 17:44:44 +00:00
bitfield.c Simplify bitfield codegen. 2008-02-07 19:29:53 +00:00
boolassign.c Fix a bug where CodeGen would attempt to erase an instruction that was 2008-01-29 18:13:51 +00:00
cast.c Fix a codegen crash on test/CodeGen/cast.c, reported by Keith. 2007-12-12 04:13:20 +00:00
cfstring.c Put back the flags field in the constant CF string type. 2007-11-19 00:25:30 +00:00
complex.c __real__ and __imag__ can be lvalues. Add support to ast and codegen for them. 2007-10-30 22:53:42 +00:00
compound.c implement codegen support for aggregates casted to void. 2008-02-16 23:55:16 +00:00
conditional-gnu-ext.c Fix sema support for the gnu ?: expression with a 2007-11-26 01:40:58 +00:00
conditional.c Basic codegen test for conditional with void*. 2008-02-10 23:18:23 +00:00
dostmt.c new test 2007-10-09 20:37:41 +00:00
enum.c use -emit-llvm-bc 2007-12-27 20:35:58 +00:00
exprs.c Fix PR1921 by promoting negative indices to intptrty. 2008-01-31 04:12:50 +00:00
extern-block-var.c Implement extern block var. 2008-02-16 22:30:38 +00:00
func-return-member.c Enable CodeGen for member expressions based on call expressions returning aggregate types. This enables expressions like 'foo().member.submember'. 2007-12-29 05:02:41 +00:00
functions.c implement codegen for functions whose function body type don't match 2007-12-02 06:27:33 +00:00
global-with-initialiser.c improve codegen for global variable initializers, implementing 2007-11-23 22:07:55 +00:00
globalinit.c Relax an assertion, fixing PR1968 2008-02-05 06:37:34 +00:00
init-with-member-expr.c getLLVMFieldNo can't be called before emitting the base value. 2008-01-30 21:23:20 +00:00
init.c Simplify aggregate initilizer implementation. Use the CodeGenModule::EmitConstantExpr method when 2008-02-19 19:27:31 +00:00
int-to-pointer.c Check in these testcases. 2007-07-13 20:18:44 +00:00
mandel.c testcase that doesn't work quite yet 2007-08-27 05:23:45 +00:00
merge-statics.c pull .ll and .bc writing out of the ASTConsumer destructors into some top 2008-02-06 01:42:25 +00:00
ocu-vector.c Support checking and codegen of constant vector globals 2008-01-25 05:34:48 +00:00
opaque-pointer.c A pointer to an opaque type is an "opaque type definition". 2008-01-30 21:21:08 +00:00
pointer-arithmetic.c Remove broken assert from CodeGen. Better check is done in Sema. 2007-12-26 05:21:37 +00:00
pointer-to-int.c Fix a typo that prevented pointer-to-int conversions from working. 2007-10-31 23:18:02 +00:00
shared-string-literals.c Adding code gen tests for writable and shared string literals. 2007-11-28 06:27:12 +00:00
statements.c explicitly document that return statement argument does not necessarily follow the result type of the function. Add testcase. 2008-02-06 21:20:34 +00:00
staticinit.c Support initalisers for more than just int-typed static variables. 2007-12-02 00:11:25 +00:00
string-literal.c no need to verify this, no errors/warnings are expected. 2007-12-27 20:31:56 +00:00
struct-x86-darwin.c pull .ll and .bc writing out of the ASTConsumer destructors into some top 2008-02-06 01:42:25 +00:00
struct.c Fix the codegen of structs with flexible array members. 2008-02-06 05:33:51 +00:00
switch.c use -emit-llvm-bc 2007-12-27 20:35:58 +00:00
trunc-array-initializer.c Treat discarding array initializer elements as an extwarn (so -pedantic-errors flags it). Allow CodeGen to truncate the initializer if needed. 2007-12-02 08:49:54 +00:00
typedef.c fix a bug handling typedefs in member expr codegen. Patch 2007-11-30 18:02:19 +00:00
types.c Finish off the refactoring of type handling stuff. Now we recompile every 2008-02-06 04:51:19 +00:00
union.c Match union field type when member expression is u->x 2007-12-11 21:33:16 +00:00
vector.c Add RUN line. 2008-02-02 04:49:12 +00:00
weak-global.c A global without initializer must be emitted as weak. 2008-02-19 00:04:15 +00:00
whilestmt.c Recognize while(1) and avoid extra blocks. 2007-10-09 20:51:27 +00:00
writable-strings.c Fix typo in writable string test 2007-11-28 06:52:03 +00:00