Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update for the intrinsic changes in llvm: the object size intrinsic | Eric Christopher | 2009-12-23 | 1 | -1/+1 |
| | | | | | | | only takes a boolean second argument now. Update tests accordingly. Currently the builtin still accepts the full range for compatibility. llvm-svn: 91983 | ||||
* | clang -cc1: Rename -mcpu to -target-cpu to match other target options and ↵ | Daniel Dunbar | 2009-12-18 | 1 | -1/+1 |
| | | | | | | not alias driver/backend option. llvm-svn: 91671 | ||||
* | Update tests to use %clang instead of 'clang', and forcibly disable use of ' | Daniel Dunbar | 2009-12-15 | 8 | -12/+12 |
| | | | | | | | clang ' or ' clang -cc1 ' or ' clang-cc ' in test lines (by substituting them to garbage). llvm-svn: 91460 | ||||
* | Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. | Daniel Dunbar | 2009-12-15 | 209 | -244/+244 |
| | | | | | | | | | - 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 | ||||
* | Make tests use the new clang -cc1 flag. | Fariborz Jahanian | 2009-12-14 | 4 | -4/+4 |
| | | | | llvm-svn: 91303 | ||||
* | Revert mmx palignr to use an intrinsic, since mmx shuffle patterns are missing. | Nate Begeman | 2009-12-14 | 1 | -0/+4 |
| | | | | llvm-svn: 91269 | ||||
* | Support x86's PALIGNR instruction without the use of a palignr intrinsic. | Nate Begeman | 2009-12-14 | 1 | -0/+15 |
| | | | | llvm-svn: 91264 | ||||
* | Fix for PR5709: use the computed type of the declaration instead of the | Eli Friedman | 2009-12-09 | 1 | -0/+8 |
| | | | | | | | type of the builtin when generating the function declaration for a builtin library call. llvm-svn: 90936 | ||||
* | Remove include of system header. | Daniel Dunbar | 2009-12-08 | 1 | -2/+0 |
| | | | | llvm-svn: 90883 | ||||
* | Use clang-cc in this test. | Daniel Dunbar | 2009-12-08 | 1 | -1/+1 |
| | | | | llvm-svn: 90872 | ||||
* | Switch over to checking .ll files instead of .s files. | Mike Stump | 2009-12-07 | 1 | -44/+29 |
| | | | | llvm-svn: 90786 | ||||
* | add 'F' to a bunch of libm builtins so that codegen doesn't die on them, | Chris Lattner | 2009-12-07 | 1 | -0/+3 |
| | | | | | | pointed out by Charles Davis. llvm-svn: 90736 | ||||
* | fix comment. | Chris Lattner | 2009-12-05 | 1 | -1/+1 |
| | | | | llvm-svn: 90660 | ||||
* | consolidate some tests. | Chris Lattner | 2009-12-05 | 3 | -23/+23 |
| | | | | llvm-svn: 90659 | ||||
* | implement rdar://7346691 by codegen'ing struct/array initializers | Chris Lattner | 2009-12-05 | 3 | -2/+29 |
| | | | | | | to a memset or a memcpy from a global when possible. llvm-svn: 90658 | ||||
* | simplify a condition and add a testcase. | Chris Lattner | 2009-12-05 | 1 | -0/+12 |
| | | | | llvm-svn: 90652 | ||||
* | Use '-FOO' 'BAR' instead of '-FOO=BAR' for FOO in -stack-protector, ↵ | Daniel Dunbar | 2009-11-29 | 2 | -6/+6 |
| | | | | | | -fvisibility, and -fconstant-string-class. llvm-svn: 90072 | ||||
* | Normalize options to use '-FOO' instead of '--FOO'. | Daniel Dunbar | 2009-11-29 | 11 | -11/+11 |
| | | | | llvm-svn: 90071 | ||||
* | Update a test to FileCheck. | Anders Carlsson | 2009-11-22 | 1 | -3/+2 |
| | | | | llvm-svn: 89610 | ||||
* | Use intptr_t from stdint.h (in freestanding mode) instead of redefining it here | Ken Dyck | 2009-11-22 | 1 | -2/+2 |
| | | | | | | with __INTPTR_TYPE__. llvm-svn: 89609 | ||||
* | Convert test to FileCheck. | Daniel Dunbar | 2009-11-20 | 1 | -4/+3 |
| | | | | llvm-svn: 89514 | ||||
* | Driver: Use '-target-abi' 'FOO' instead of '-target-abi=FOO'. | Daniel Dunbar | 2009-11-20 | 1 | -2/+2 |
| | | | | llvm-svn: 89501 | ||||
* | Pass '-mcpu' 'FOO' instead of '-mcpu=FOO'. | Daniel Dunbar | 2009-11-20 | 1 | -1/+1 |
| | | | | llvm-svn: 89498 | ||||
* | Fix some codegen tests to include positive checks. | Daniel Dunbar | 2009-11-20 | 5 | -9/+38 |
| | | | | llvm-svn: 89465 | ||||
* | Switch -f{builtin,math-errno,rtti} and -analyzer-purge-dead to -...no... ↵ | Daniel Dunbar | 2009-11-19 | 1 | -2/+2 |
| | | | | | | variants instead of using llvm::cl::init(true) arguments. llvm-svn: 89315 | ||||
* | Remove unnecessary &&s. | Daniel Dunbar | 2009-11-17 | 1 | -5/+5 |
| | | | | llvm-svn: 89153 | ||||
* | Added block type introspection support. | David Chisnall | 2009-11-17 | 1 | -1/+5 |
| | | | | | | As per Fariborz's suggestion, committed now but can be reverted later if the used flag is problematic for Apple. llvm-svn: 89134 | ||||
* | Don't #include <stdio.h> when tests don't need it, or use clang instead of ↵ | Daniel Dunbar | 2009-11-17 | 7 | -7/+7 |
| | | | | | | clang-cc when they do. llvm-svn: 89070 | ||||
* | Remove some redundant tests. | Daniel Dunbar | 2009-11-17 | 2 | -43/+0 |
| | | | | llvm-svn: 89069 | ||||
* | Add -fblocks, -stack-protector, and -fobjc-nonfragile-abi defaulting to driver, | Daniel Dunbar | 2009-11-17 | 1 | -12/+6 |
| | | | | | | | instead of using getDefaultLangOptions. - Remove unused -fobjc-tight-layout while at it. llvm-svn: 89065 | ||||
* | Fix tests after enabling -split-phi-edges. | Jakob Stoklund Olesen | 2009-11-17 | 1 | -10/+10 |
| | | | | | | | | object-size.c aws simply too fragile. constructor-default-arg.cpp triggers an issue when LiveVariables is run before RALocal. llvm-svn: 89025 | ||||
* | PR5526: Make sure to set the right cast kinds for the inserted implicit casts. | Eli Friedman | 2009-11-17 | 1 | -0/+8 |
| | | | | llvm-svn: 89023 | ||||
* | Make __func__ and friends work correctly within the initializer for a static | Eli Friedman | 2009-11-14 | 1 | -0/+6 |
| | | | | | | local variable. llvm-svn: 88766 | ||||
* | Obvious fix for PR5474. | Eli Friedman | 2009-11-13 | 1 | -0/+6 |
| | | | | llvm-svn: 88696 | ||||
* | And now a test fix in +Asserts mode, which I broke. | Daniel Dunbar | 2009-11-11 | 1 | -1/+1 |
| | | | | llvm-svn: 86801 | ||||
* | Fix some tests in -Asserts mode. | Daniel Dunbar | 2009-11-11 | 3 | -27/+25 |
| | | | | | | | | | | | | | - FileCheck is a *huuuuge* improvement here. - Still feels like we could use a better tool for this though, either teach llvm-dis to spit out the FileCheck syntax, or provide another tool to turn a .ll into a "matchable" input. - Also on my Christmas list is better FileCheck diagnostics with missing variables or mismatches. llvm-svn: 86800 | ||||
* | Enable the use of the new llvm objectsize intrinsic. | Mike Stump | 2009-11-09 | 1 | -2/+2 |
| | | | | llvm-svn: 86607 | ||||
* | Remove RUN: true lines. | Daniel Dunbar | 2009-11-08 | 11 | -11/+0 |
| | | | | llvm-svn: 86432 | ||||
* | Eliminate &&s in tests. | Daniel Dunbar | 2009-11-08 | 84 | -367/+367 |
| | | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430 | ||||
* | commit test update | Chris Lattner | 2009-11-07 | 1 | -3/+3 |
| | | | | llvm-svn: 86396 | ||||
* | MIPS linkage name confuses gdb here. Generate and test DW_AT_name here. | Devang Patel | 2009-11-07 | 1 | -1/+1 |
| | | | | llvm-svn: 86318 | ||||
* | Test case for recent checkin. | Mike Stump | 2009-11-03 | 1 | -2/+8 |
| | | | | llvm-svn: 85972 | ||||
* | Switch XFAIL format to match LLVM. | Daniel Dunbar | 2009-11-03 | 2 | -2/+2 |
| | | | | llvm-svn: 85880 | ||||
* | Add missing colons for FileCheck. | Benjamin Kramer | 2009-10-31 | 1 | -1/+1 |
| | | | | llvm-svn: 85683 | ||||
* | Fix one more bug with __builtin_object_size. | Mike Stump | 2009-10-29 | 1 | -0/+6 |
| | | | | llvm-svn: 85538 | ||||
* | Add yet more testcases. | Mike Stump | 2009-10-29 | 1 | -0/+30 |
| | | | | llvm-svn: 85535 | ||||
* | Add some more testcases. | Mike Stump | 2009-10-29 | 1 | -6/+30 |
| | | | | llvm-svn: 85534 | ||||
* | make clang emit undefs for padding of structs and unions instead of zeros. ↵ | Nuno Lopes | 2009-10-29 | 2 | -2/+2 |
| | | | | | | this enables constant compaction optimizations. llvm-svn: 85504 | ||||
* | make this interpretable. | Chris Lattner | 2009-10-29 | 1 | -1/+1 |
| | | | | llvm-svn: 85487 | ||||
* | make this more interesting, test the static const array. | Chris Lattner | 2009-10-29 | 1 | -5/+16 |
| | | | | llvm-svn: 85464 |