summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen
Commit message (Collapse)AuthorAgeFilesLines
* Update for the intrinsic changes in llvm: the object size intrinsicEric Christopher2009-12-231-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 Dunbar2009-12-181-1/+1
| | | | | | not alias driver/backend option. llvm-svn: 91671
* Update tests to use %clang instead of 'clang', and forcibly disable use of 'Daniel Dunbar2009-12-158-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 Dunbar2009-12-15209-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 Jahanian2009-12-144-4/+4
| | | | llvm-svn: 91303
* Revert mmx palignr to use an intrinsic, since mmx shuffle patterns are missing.Nate Begeman2009-12-141-0/+4
| | | | llvm-svn: 91269
* Support x86's PALIGNR instruction without the use of a palignr intrinsic.Nate Begeman2009-12-141-0/+15
| | | | llvm-svn: 91264
* Fix for PR5709: use the computed type of the declaration instead of theEli Friedman2009-12-091-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 Dunbar2009-12-081-2/+0
| | | | llvm-svn: 90883
* Use clang-cc in this test.Daniel Dunbar2009-12-081-1/+1
| | | | llvm-svn: 90872
* Switch over to checking .ll files instead of .s files.Mike Stump2009-12-071-44/+29
| | | | llvm-svn: 90786
* add 'F' to a bunch of libm builtins so that codegen doesn't die on them,Chris Lattner2009-12-071-0/+3
| | | | | | pointed out by Charles Davis. llvm-svn: 90736
* fix comment.Chris Lattner2009-12-051-1/+1
| | | | llvm-svn: 90660
* consolidate some tests.Chris Lattner2009-12-053-23/+23
| | | | llvm-svn: 90659
* implement rdar://7346691 by codegen'ing struct/array initializersChris Lattner2009-12-053-2/+29
| | | | | | to a memset or a memcpy from a global when possible. llvm-svn: 90658
* simplify a condition and add a testcase.Chris Lattner2009-12-051-0/+12
| | | | llvm-svn: 90652
* Use '-FOO' 'BAR' instead of '-FOO=BAR' for FOO in -stack-protector, ↵Daniel Dunbar2009-11-292-6/+6
| | | | | | -fvisibility, and -fconstant-string-class. llvm-svn: 90072
* Normalize options to use '-FOO' instead of '--FOO'.Daniel Dunbar2009-11-2911-11/+11
| | | | llvm-svn: 90071
* Update a test to FileCheck.Anders Carlsson2009-11-221-3/+2
| | | | llvm-svn: 89610
* Use intptr_t from stdint.h (in freestanding mode) instead of redefining it hereKen Dyck2009-11-221-2/+2
| | | | | | with __INTPTR_TYPE__. llvm-svn: 89609
* Convert test to FileCheck.Daniel Dunbar2009-11-201-4/+3
| | | | llvm-svn: 89514
* Driver: Use '-target-abi' 'FOO' instead of '-target-abi=FOO'.Daniel Dunbar2009-11-201-2/+2
| | | | llvm-svn: 89501
* Pass '-mcpu' 'FOO' instead of '-mcpu=FOO'.Daniel Dunbar2009-11-201-1/+1
| | | | llvm-svn: 89498
* Fix some codegen tests to include positive checks.Daniel Dunbar2009-11-205-9/+38
| | | | llvm-svn: 89465
* Switch -f{builtin,math-errno,rtti} and -analyzer-purge-dead to -...no... ↵Daniel Dunbar2009-11-191-2/+2
| | | | | | variants instead of using llvm::cl::init(true) arguments. llvm-svn: 89315
* Remove unnecessary &&s.Daniel Dunbar2009-11-171-5/+5
| | | | llvm-svn: 89153
* Added block type introspection support.David Chisnall2009-11-171-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 Dunbar2009-11-177-7/+7
| | | | | | clang-cc when they do. llvm-svn: 89070
* Remove some redundant tests.Daniel Dunbar2009-11-172-43/+0
| | | | llvm-svn: 89069
* Add -fblocks, -stack-protector, and -fobjc-nonfragile-abi defaulting to driver,Daniel Dunbar2009-11-171-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 Olesen2009-11-171-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 Friedman2009-11-171-0/+8
| | | | llvm-svn: 89023
* Make __func__ and friends work correctly within the initializer for a staticEli Friedman2009-11-141-0/+6
| | | | | | local variable. llvm-svn: 88766
* Obvious fix for PR5474.Eli Friedman2009-11-131-0/+6
| | | | llvm-svn: 88696
* And now a test fix in +Asserts mode, which I broke.Daniel Dunbar2009-11-111-1/+1
| | | | llvm-svn: 86801
* Fix some tests in -Asserts mode.Daniel Dunbar2009-11-113-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 Stump2009-11-091-2/+2
| | | | llvm-svn: 86607
* Remove RUN: true lines.Daniel Dunbar2009-11-0811-11/+0
| | | | llvm-svn: 86432
* Eliminate &&s in tests.Daniel Dunbar2009-11-0884-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 updateChris Lattner2009-11-071-3/+3
| | | | llvm-svn: 86396
* MIPS linkage name confuses gdb here. Generate and test DW_AT_name here.Devang Patel2009-11-071-1/+1
| | | | llvm-svn: 86318
* Test case for recent checkin.Mike Stump2009-11-031-2/+8
| | | | llvm-svn: 85972
* Switch XFAIL format to match LLVM.Daniel Dunbar2009-11-032-2/+2
| | | | llvm-svn: 85880
* Add missing colons for FileCheck.Benjamin Kramer2009-10-311-1/+1
| | | | llvm-svn: 85683
* Fix one more bug with __builtin_object_size.Mike Stump2009-10-291-0/+6
| | | | llvm-svn: 85538
* Add yet more testcases.Mike Stump2009-10-291-0/+30
| | | | llvm-svn: 85535
* Add some more testcases.Mike Stump2009-10-291-6/+30
| | | | llvm-svn: 85534
* make clang emit undefs for padding of structs and unions instead of zeros. ↵Nuno Lopes2009-10-292-2/+2
| | | | | | this enables constant compaction optimizations. llvm-svn: 85504
* make this interpretable.Chris Lattner2009-10-291-1/+1
| | | | llvm-svn: 85487
* make this more interesting, test the static const array.Chris Lattner2009-10-291-5/+16
| | | | llvm-svn: 85464
OpenPOWER on IntegriCloud