hanchenye-llvm-project/clang/test/CodeGen
Chris Lattner d258325c2b Fix a codegen crash on:
int foo(void) {
  float x[2];
  return x;
}

rdar://6093986

llvm-svn: 53946
2008-07-23 06:31:27 +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
2008-02-26-inline-asm-bug.c Fix a bug in ConvertAsmString function. 2008-02-26 19:19:58 +00:00
2008-07-17-no-emit-on-error.c Prevent clang from emitting output when input has errors 2008-07-18 16:38:05 +00:00
OpaqueStruct.c Convert opaque type when struct definition is seen. 2007-12-21 19:35:28 +00:00
address-space-cast.c Fix crash with conversion to an address-space-qualified pointer. Bug 2008-06-07 17:27:51 +00:00
address-space.c fix a bug handling type attributes in the declspec. declspec processing 2008-06-26 06:27:57 +00:00
align-local.c Calculate alignment for local variables. 2008-05-31 21:20:41 +00:00
array.c Codegen array initializers. 2007-10-26 17:44:44 +00:00
atomic.c fix this testcase after Mon Ping's intrinsic rename. 2008-06-26 04:06:27 +00:00
attributes.c Multiple tests in a single test file must be linked with '&&'. 2008-06-12 12:40:02 +00:00
bitfield-init.c Don't try to take the address of a bitfield; fixes PR2310. 2008-05-12 15:06:05 +00:00
bitfield.c Make this test actually pass, in addition to the previous patch 2008-06-17 05:36:46 +00:00
bool-bitfield.c Fix support for _Bool bitfields. The issue is that the bitfield width 2008-05-17 20:03:47 +00:00
bool-init.c Make sure _Bool globals have the correct type. 2008-06-01 15:31:44 +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
builtin-count-zeros.c Multiple tests in a single test file must be linked with '&&'. 2008-06-12 12:40:02 +00:00
builtin-memfns.c Implement bzero, memset, memmove builtins. 2008-07-22 00:26:45 +00:00
builtin-stackaddress.c Multiple tests in a single test file must be linked with '&&'. 2008-06-12 12:40:02 +00:00
builtinmemcpy.c Implement CodeGen for __builtin_memcpy. 2008-05-19 23:27:48 +00:00
builtins-ffs_parity_popcount.c Implement ffs, parity, and popcount builtins. 2008-07-21 17:19:41 +00:00
builtins-powi.c Add __builtin_powi[fl] support 2008-07-21 18:44:41 +00:00
builtinshufflevector.c Implementation of __builtin_shufflevector, a portable builtin capable of 2008-05-14 19:38:39 +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 Since isComplexType() no longer returns true for _Complex integers, the code 2008-04-04 16:54:41 +00:00
compound-literal.c Remove illegal test. 2008-05-19 20:17:34 +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 fix crash when codegening 'cond ? lhs : call-to-void-func()' 2008-06-04 19:15:45 +00:00
const-init.c Add codegen support for a few more kinds of initializer constant 2008-05-29 11:22:45 +00:00
constant-comparison.c Multiple tests in a single test file must be linked with '&&'. 2008-06-12 12:40:02 +00:00
cxx-default-arg.cpp Add support for C++ default arguments, and rework Parse-Sema 2008-04-08 04:40:51 +00:00
dostmt.c new test 2007-10-09 20:37:41 +00:00
empty-union-init.c "This moves built-in Objective-C types up the scope chains to where they can be replaced by versions included from the runtime library's headers." 2008-06-21 20:20:39 +00:00
enum.c use -emit-llvm-bc 2007-12-27 20:35:58 +00:00
exprs.c Fix a bug where we didn't promote 'const float' (or typedefs) to 2008-06-27 22:48:56 +00:00
extern-block-var.c Implement extern block var. 2008-02-16 22:30:38 +00:00
func-decl-cleanup.c Don't swap function decls, and add them to the scope as they are 2008-05-27 05:07:37 +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 Fix PR2049, updating Eli's patch that fixes to mainline. This produces incorrect 2008-04-04 18:42:16 +00:00
init.c add a testcase 2008-05-04 00:56:25 +00:00
int-to-pointer.c
long-double-x86.c Generalize the float type generation code, and specifically fix the 2008-05-27 04:20:05 +00:00
mandel.c Don't include complex.h or tgmath.h for this test; they aren't needed, 2008-06-10 05:09:36 +00:00
merge-attrs.c fix decl attributes cleaning 2008-06-01 22:53:53 +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 OCUVector -> ExtVector, shorthand for extended vector, per feedback from Chris. 2008-04-18 23:10:10 +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-cmp-type.c Fix an extremely subtle bug with pointer comparisons: they have to be 2008-05-29 15:09:15 +00:00
pointer-to-int.c Fix a codegen crash on: 2008-07-23 06:31:27 +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
static-forward-decl-fun.c Always check that the definition of a function has the correct type. 2008-05-30 11:13:18 +00:00
static-forward-decl.c Add a more reliable check for whether a static declaration has already 2008-05-27 04:58:01 +00:00
static-local-union.c Don't crash emitting an initializer for a static local with union type. 2008-06-08 01:23:18 +00:00
staticinit.c Implement codegen for the following static var init. 2008-02-26 21:41:45 +00:00
string-init.c Fix broken test. 2008-06-12 12:44:52 +00:00
string-literal.c no need to verify this, no errors/warnings are expected. 2007-12-27 20:31:56 +00:00
struct-comma.c Implement codegen for comma operator for structs. 2008-05-20 07:56:31 +00:00
struct-init.c Add code to make test/CodeGen/struct-init.c work correctly without the 2008-06-09 05:05:07 +00:00
struct-x86-darwin.c Multiple tests in a single test file must be linked with '&&'. 2008-06-12 12:40:02 +00:00
struct.c Always use packed structs. This isn't really very nice, but there's 2008-05-29 10:58:49 +00:00
switch.c Emit basic block for switch body; fixes PR2307. 2008-05-12 16:08:04 +00:00
tentative-array.c PR1893: Fix up the type of tentative definitions of incomplete array 2008-05-30 20:39:54 +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-func.c For setting attributes, don't assume there are ParamVarDecls available, 2008-06-04 19:41:28 +00:00
typedef.c fix a bug handling typedefs in member expr codegen. Patch 2007-11-30 18:02:19 +00:00
types.c Fix PR2081 (problems codegen'ing some recursive structures) patch 2008-04-03 05:50:42 +00:00
union-init.c Fix and enable generating general union initializers. Essentially, what 2008-05-30 19:58:50 +00:00
union.c Rearrange EmitLValueForField a bit to work properly for _Bool bitfields 2008-05-29 11:33:25 +00:00
var-align.c Add CodeGen support for alignment on globals, both for unusual natural 2008-05-29 11:10:27 +00:00
vector.c Fix constant vector init for initializer lists with an incomplete list 2008-05-30 12:02:14 +00:00
volatile.c Basic support for volatile loads and stores. Stores the volatile 2008-06-13 23:01:12 +00:00
weak-global.c Tentative declarations are supposed to have common linkage, not weak. 2008-05-29 11:03:17 +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
x86-inline-asm.c Multiple tests in a single test file must be linked with '&&'. 2008-06-12 12:40:02 +00:00