| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | these tests include section specifiers that aren't valid on the | Chris Lattner | 2009-08-10 | 2 | -2/+2 |
| | | | | | | | mac, use an explicit triple. llvm-svn: 78583 | ||||
| * | Add tests. | Anders Carlsson | 2009-08-08 | 1 | -0/+23 |
| | | | | | llvm-svn: 78491 | ||||
| * | weak globals that are const should get weak_odr linkage. | Chris Lattner | 2009-08-05 | 1 | -0/+16 |
| | | | | | | | add a fixme about C++ const. llvm-svn: 78159 | ||||
| * | rdar://7119244 - globals with an explicit section specified don't get | Chris Lattner | 2009-08-05 | 1 | -1/+8 |
| | | | | | | | common linkage. llvm-svn: 78158 | ||||
| * | Revert the fix for PR3800, it broke things. | Anders Carlsson | 2009-08-04 | 1 | -0/+10 |
| | | | | | llvm-svn: 78084 | ||||
| * | Fix test case for Darwin10 (which sets ssp), and move to CodeGen/ | Daniel Dunbar | 2009-08-04 | 1 | -0/+158 |
| | | | | | llvm-svn: 78049 | ||||
| * | Make sure UTF-16 strings end with a 16-bit null (as opposed to 8-bit). | Daniel Dunbar | 2009-08-03 | 1 | -2/+3 |
| | | | | | llvm-svn: 78001 | ||||
| * | Don't evaluate inout constraints twice. Fixes PR3800. | Anders Carlsson | 2009-08-02 | 1 | -0/+8 |
| | | | | | llvm-svn: 77854 | ||||
| * | Fix a minor issue with unions in the new struct building code. | Eli Friedman | 2009-08-01 | 1 | -0/+4 |
| | | | | | llvm-svn: 77829 | ||||
| * | New test case for rev. 77694. | Devang Patel | 2009-07-31 | 1 | -0/+5 |
| | | | | | llvm-svn: 77698 | ||||
| * | Enable the new struct type builder now that the constant struct builder ↵ | Anders Carlsson | 2009-07-27 | 5 | -14/+14 |
| | | | | | | | works. (The old code will still be there until we know that everything works well. llvm-svn: 77190 | ||||
| * | Enable the new constant struct builder by default. The old code is still in ↵ | Anders Carlsson | 2009-07-27 | 3 | -5/+6 |
| | | | | | | | place but will be removed shortly. The new struct builder works on big endian systems. llvm-svn: 77185 | ||||
| * | Add noreturn as a type attribute, handle printing for them and handle | Mike Stump | 2009-07-25 | 1 | -2/+2 |
| | | | | | | | calls to noreturn function pointers when CFG building. llvm-svn: 77089 | ||||
| * | Remove empty tests, left over from an svn revert. | Daniel Dunbar | 2009-07-25 | 2 | -0/+0 |
| | | | | | llvm-svn: 77068 | ||||
| * | MultiTestRunner: Validate '&&' at the end of RUN lines. | Daniel Dunbar | 2009-07-25 | 13 | -17/+17 |
| | | | | | | | | | - This is just to normalize, these will go away soon hopefully. Added all the missing '&&'s that have crept in. :) llvm-svn: 77062 | ||||
| * | Semantic checking for main(). | John McCall | 2009-07-25 | 1 | -1/+1 |
| | | | | | | | | Fix some invalid main() methods in the test suite that were nicely exposed by the new checks. llvm-svn: 77047 | ||||
| * | Implement new warning for functions declared 'noreturn' when they fall off ↵ | Mike Stump | 2009-07-24 | 1 | -2/+2 |
| | | | | | | | the end. llvm-svn: 76932 | ||||
| * | Output UTF-16 string literals independent of host byte order. | Daniel Dunbar | 2009-07-23 | 1 | -4/+10 |
| | | | | | | | | | - Steve, can you take a look at this? It seems like this code should live elsewhere, and there is a FIXME about having Sema validates the UTF-8 to UTF-16 conversion. llvm-svn: 76915 | ||||
| * | Correct a thinko in bitfield layout code. Fixes PR4611. | Anders Carlsson | 2009-07-23 | 1 | -0/+6 |
| | | | | | llvm-svn: 76898 | ||||
| * | We don't need to keep track of the packed alignment, just whether the struct ↵ | Anders Carlsson | 2009-07-23 | 1 | -0/+7 |
| | | | | | | | is packed or not. Fixes PR4610. llvm-svn: 76884 | ||||
| * | Use arrays as union padding. Also, since the resulting struct will always ↵ | Anders Carlsson | 2009-07-23 | 1 | -2/+2 |
| | | | | | | | contain a single element and either a single i8 element or an array of i8s, there's no reason to use a packed struct. llvm-svn: 76854 | ||||
| * | Make vectorized floating-point comparisons work without crashing. | Eli Friedman | 2009-07-22 | 1 | -0/+14 |
| | | | | | llvm-svn: 76726 | ||||
| * | Preserve address space information through member accesses, e.g., | Mon P Wang | 2009-07-22 | 4 | -0/+85 |
| | | | | | | | | __attribute__((address_space(1))) struct {int arr[ 3 ]; } *p1; ... = p1->arr[2]; // load from address space 1 llvm-svn: 76717 | ||||
| * | Revert this, was a bug in my new warning code, not the test case. | Mike Stump | 2009-07-21 | 1 | -1/+0 |
| | | | | | llvm-svn: 76690 | ||||
| * | Prep for new warning. | Mike Stump | 2009-07-21 | 12 | -60/+72 |
| | | | | | llvm-svn: 76638 | ||||
| * | Detect when the current generation point is unreachable after emitting | Daniel Dunbar | 2009-07-19 | 1 | -0/+11 |
| | | | | | | | | | | | expressions. - This generally catches the important case of noreturn functions. - With the last two changes, we are down to 152 unreachable blocks emitted on 403.gcc, vs the 1805 we started with. llvm-svn: 76364 | ||||
| * | Avoid generation of dead code in a few more situations. | Daniel Dunbar | 2009-07-19 | 1 | -0/+26 |
| | | | | | | | | | | | | | | - Emit variable declarations as "simple", we want to avoid forcing the creation of a dummy basic block, but still need to make the variable available for later use. - With that, we can now skip IRgen for other unreachable statements (which don't define a label). - Anders, I added two fixmes on calls to EmitVLASize, can you check them? llvm-svn: 76361 | ||||
| * | codegen string literals using private linkage now like llvm-gcc, eliminating | Chris Lattner | 2009-07-16 | 2 | -6/+5 |
| | | | | | | | some target hooks. llvm-svn: 75895 | ||||
| * | reimplement vector comparisons as [fi]cmp+sext instead of using v[if]cmp. | Chris Lattner | 2009-07-08 | 1 | -4/+1 |
| | | | | | | | | Also, enable them in sema so that they are tested, and now that the x86 backend has stablized. llvm-svn: 74983 | ||||
| * | make these tests pass with the stack canary stuff even on targets where they ↵ | Chris Lattner | 2009-06-28 | 2 | -3/+3 |
| | | | | | | | default to on. llvm-svn: 74412 | ||||
| * | Add stack protector support to clang. This generates the 'ssp' and 'sspreq' | Bill Wendling | 2009-06-28 | 1 | -0/+22 |
| | | | | | | | | | function attributes. There are predefined macros that are defined when stack protectors are used: __SSP__=1 with -fstack-protector and __SSP_ALL__=2 with -fstack-protector-all. llvm-svn: 74405 | ||||
| * | Revrt PR4228 fix for now. | Devang Patel | 2009-06-26 | 2 | -18/+0 |
| | | | | | llvm-svn: 74304 | ||||
| * | fix PR4423. | Chris Lattner | 2009-06-23 | 1 | -0/+4 |
| | | | | | llvm-svn: 73938 | ||||
| * | Add a target triple to a couple of tests which depend on it. Reported | Eli Friedman | 2009-06-18 | 2 | -3/+3 |
| | | | | | | | by Mark Cianciosa on cfe-dev. llvm-svn: 73672 | ||||
| * | It is possible that main input file does not have any symbol with debug ↵ | Devang Patel | 2009-06-16 | 2 | -0/+18 |
| | | | | | | | | | info. To handle this edge case, always create main compile unit first. This fixes PR 4228. llvm-svn: 73520 | ||||
| * | testcase for r72869, it turns out that it happens in Ruby. | Chris Lattner | 2009-06-16 | 1 | -0/+11 |
| | | | | | llvm-svn: 73514 | ||||
| * | PR4390: Make sure to handle anonymous unions correctly while building | Eli Friedman | 2009-06-14 | 1 | -0/+7 |
| | | | | | | | static intializers for structs. llvm-svn: 73349 | ||||
| * | Fix the calling convention for structs/unions containing SSE vectors on | Eli Friedman | 2009-06-13 | 1 | -0/+5 |
| | | | | | | | x86-32. This is slightly messy, but I think it's consistent with gcc. llvm-svn: 73306 | ||||
| * | Fix PR4372, another case where non-prototyped functions can prevent | Chris Lattner | 2009-06-13 | 1 | -1/+8 |
| | | | | | | | always_inline from working. llvm-svn: 73273 | ||||
| * | Fix test, which could miss failures, and also avoid leaving temporary .i file in | Daniel Dunbar | 2009-06-08 | 1 | -3/+4 |
| | | | | | | | source directory. llvm-svn: 73094 | ||||
| * | Add stack alignment to x86_64 target data. | Daniel Dunbar | 2009-06-08 | 1 | -0/+7 |
| | | | | | | | | - <rdar://problem/6948443> WARNING: Linking two modules of different data layouts! llvm-svn: 73093 | ||||
| * | Remove a few more vector builtins. | Eli Friedman | 2009-06-07 | 1 | -5/+0 |
| | | | | | llvm-svn: 73022 | ||||
| * | Now that LLVM CodeGen can handle the generic variations a bit better, | Eli Friedman | 2009-06-07 | 1 | -4/+0 |
| | | | | | | | get rid of a few more clang vector builtins. llvm-svn: 73015 | ||||
| * | PR4339: make sure to properly extend/trunc the index of a vector element | Eli Friedman | 2009-06-06 | 1 | -0/+8 |
| | | | | | | | | insert/extract; the relevant instructions are defined to take only an i32. llvm-svn: 73005 | ||||
| * | Test changes to account for removed builtins. | Eli Friedman | 2009-06-06 | 2 | -151/+0 |
| | | | | | llvm-svn: 73004 | ||||
| * | weak_import should not make definitions have weak linkage. | Daniel Dunbar | 2009-06-05 | 1 | -1/+11 |
| | | | | | | | - <rdar://problem/6948703> clang treats weak_import like weak llvm-svn: 72967 | ||||
| * | ABI handling: Fix nasty thinko where IRgen could generate an out-of-bounds read | Daniel Dunbar | 2009-06-05 | 1 | -0/+6 |
| | | | | | | | | | | | when generating a coercion for ABI handling purposes. - This may only manifest itself when building at -O0, but the practical effect is that other arguments may get clobbered. - <rdar://problem/6930451> [irgen] ABI coercion clobbers other arguments llvm-svn: 72932 | ||||
| * | PR4316: Fix IRGen for cast-to-union extension. | Eli Friedman | 2009-06-03 | 1 | -0/+1 |
| | | | | | llvm-svn: 72803 | ||||
| * | Driver: Support -mllvm; this just forwards options to clang-cc. | Daniel Dunbar | 2009-06-03 | 1 | -2/+2 |
| | | | | | llvm-svn: 72780 | ||||
| * | Add clang-cc support for -disable-llvm-optzns. | Daniel Dunbar | 2009-06-02 | 1 | -0/+13 |
| | | | | | | | | - Avoids running any LLVM optimizations, even at -O2, etc., while still keeping any language changes these optimizations imply. llvm-svn: 72742 | ||||

