Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix the clang bootstrap and Jay's testcase from llvm-dev by being completely | Chris Lattner | 2011-07-10 | 1 | -0/+13 |
| | | | | | | | | | | conservative when converting a functiontype to IR when in a "pointer within a struct" context. This has the unfortunate sideeffect of compiling all function pointers inside of structs into "{}*" which, though correct, is ugly. This has the positive side effect of being correct, and it is pretty straight-forward to improve on this. llvm-svn: 134861 | ||||
* | Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. | Daniel Dunbar | 2009-12-15 | 1 | -1/+1 |
| | | | | | | | | | - 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). llvm-svn: 91446 | ||||
* | Remove tabs, and whitespace cleanups. | Mike Stump | 2009-09-09 | 1 | -26/+17 |
| | | | | llvm-svn: 81346 | ||||
* | Rename clang to clang-cc. | Daniel Dunbar | 2009-03-24 | 1 | -1/+1 |
| | | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602 | ||||
* | Test case for emitting va_arg as l-value; apparently I only *thought* I had ↵ | Daniel Dunbar | 2009-02-12 | 1 | -0/+1 |
| | | | | | | committed this. llvm-svn: 64368 | ||||
* | Force -triple/-fnext-runtime for a few more test cases. | Daniel Dunbar | 2009-02-03 | 1 | -1/+1 |
| | | | | llvm-svn: 63679 | ||||
* | eliminate some random .ll file outputs | Chris Lattner | 2009-01-27 | 1 | -1/+1 |
| | | | | llvm-svn: 63117 | ||||
* | Implement codegen of aggregates as lvalues in binary expressions, | Daniel Dunbar | 2008-09-04 | 1 | -1/+24 |
| | | | | | | e.g. "(a = b).somefield". llvm-svn: 55758 | ||||
* | Update a number of CodeGen tests to not create .ll files in the test | Daniel Dunbar | 2008-08-21 | 1 | -1/+1 |
| | | | | | | | | directory. - Removed .ll from the svn:ignore lists to try and prevent this. - Added svn:ignore on test/Misc/Output llvm-svn: 55104 | ||||
* | Always use packed structs. This isn't really very nice, but there's | Eli Friedman | 2008-05-29 | 1 | -0/+3 |
| | | | | | | | | | | | | | nothing fundamentally wrong with it. Emitting unpacked structs where possible is more work for almost no practical benefit. We'll probably want to fix it at some point anyway, but it's low priority. The issue with long double in particular is that LLVM thinks an X86 long double is 10 bytes, while clang considers it for all purposes to be either 12 or 16 bytes, depending on the platform, even in a packed struct. llvm-svn: 51673 | ||||
* | Check first member alignment and uses packed struct if required. | Devang Patel | 2008-05-27 | 1 | -0/+3 |
| | | | | llvm-svn: 51619 | ||||
* | Fix test case | Devang Patel | 2008-05-27 | 1 | -0/+1 |
| | | | | llvm-svn: 51618 | ||||
* | A few more cases for aggregate values. | Eli Friedman | 2008-05-27 | 1 | -0/+14 |
| | | | | llvm-svn: 51596 | ||||
* | Fix the codegen of structs with flexible array members. | Eli Friedman | 2008-02-06 | 1 | -1/+5 |
| | | | | llvm-svn: 46806 | ||||
* | Cleanup InitListExpr code generation code. | Devang Patel | 2008-02-05 | 1 | -0/+1 |
| | | | | | | Handle padding fields while initializing struct (fix PR 1962) llvm-svn: 46736 | ||||
* | Handle incomplete struct initializer. | Devang Patel | 2008-01-29 | 1 | -1/+5 |
| | | | | llvm-svn: 46534 | ||||
* | Assert that the type of the cast is equal to the _unqualified_ type of the ↵ | Anders Carlsson | 2008-01-18 | 1 | -0/+9 |
| | | | | | | subexpression. Fixes a problem spotted by Nuno Lopes. llvm-svn: 46158 | ||||
* | Add codegen upport for implicit casts to aggregate exprs. | Anders Carlsson | 2008-01-14 | 1 | -0/+15 |
| | | | | llvm-svn: 45954 | ||||
* | Array subscription in aggregate expression | Seo Sanghyeon | 2007-12-14 | 1 | -0/+5 |
| | | | | llvm-svn: 45023 | ||||
* | Implement dereference operator in aggregate expression | Seo Sanghyeon | 2007-12-14 | 1 | -0/+4 |
| | | | | llvm-svn: 45020 | ||||
* | Use getABITypeSizeInBits() instead of getTypeSizeInBits() during struct layout. | Devang Patel | 2007-12-10 | 1 | -0/+13 |
| | | | | llvm-svn: 44798 | ||||
* | Generate code for member exprs. | Anders Carlsson | 2007-11-02 | 1 | -1/+14 |
| | | | | llvm-svn: 43641 | ||||
* | Handle function calls that return aggregate expressions. | Anders Carlsson | 2007-10-31 | 1 | -0/+14 |
| | | | | llvm-svn: 43581 | ||||
* | Handle non LValue base expressions. | Devang Patel | 2007-10-26 | 1 | -0/+4 |
| | | | | llvm-svn: 43387 | ||||
* | Handle | Devang Patel | 2007-10-24 | 1 | -0/+4 |
| | | | | | | foo()->a = 42; llvm-svn: 43315 | ||||
* | Fix typo. | Devang Patel | 2007-10-23 | 1 | -1/+1 |
| | | | | llvm-svn: 43269 | ||||
* | Handle nested structs. | Devang Patel | 2007-10-23 | 1 | -0/+18 |
| | | | | | | typdef struct A { int i; struct A *next; } A llvm-svn: 43268 | ||||
* | Handle simple struct member expr. | Devang Patel | 2007-10-23 | 1 | -0/+39 |
llvm-svn: 43258 |