summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen
Commit message (Collapse)AuthorAgeFilesLines
* This works on arm.Eric Christopher2011-07-281-1/+1
| | | | llvm-svn: 136303
* Apparently this does work on arm.Eric Christopher2011-07-281-1/+1
| | | | llvm-svn: 136302
* This was meant to test arm anyhow, make the registers agree with theEric Christopher2011-07-281-2/+2
| | | | | | instruction and the architecture for which the instruction exists. llvm-svn: 136301
* Remove this test, it's actually testing something that clang doesn't support.Eric Christopher2011-07-281-15/+0
| | | | llvm-svn: 136300
* XFAIL this test on ARM. Filed PR10518 to track.Eric Christopher2011-07-271-0/+2
| | | | llvm-svn: 136299
* Remove the optimization option for this test.Eric Christopher2011-07-271-3/+2
| | | | llvm-svn: 136298
* No one cares about ppc, but make this work for arm and x86 and xfail the rest.Eric Christopher2011-07-271-1/+3
| | | | llvm-svn: 136297
* Make this darwin only for now while investigating to clear up x86_64Eric Christopher2011-07-271-1/+1
| | | | | | Release+Asserts linux tests. llvm-svn: 136223
* Add support for C++0x unicode string and character literals, from Craig Topper!Douglas Gregor2011-07-272-5/+62
| | | | llvm-svn: 136210
* Handle different sized wchar_t for windows.Eric Christopher2011-07-261-2/+4
| | | | llvm-svn: 136192
* Use the correct definition for memset.Eric Christopher2011-07-261-6/+3
| | | | llvm-svn: 136188
* Make this darwin only to simplify the padding calculations per arch.Eric Christopher2011-07-261-1/+1
| | | | llvm-svn: 136185
* This appears to be passing on all hosts.Eric Christopher2011-07-261-3/+0
| | | | llvm-svn: 136182
* Try a little hack to fix the memset duplication on windows.Eric Christopher2011-07-261-0/+4
| | | | llvm-svn: 136179
* Try harder to fix these for windows.Eric Christopher2011-07-262-2/+2
| | | | llvm-svn: 136177
* Generalize for various build bots.Eric Christopher2011-07-261-9/+9
| | | | llvm-svn: 136173
* Rewrite match line to be friendlier to misc buildbots.Eric Christopher2011-07-261-1/+1
| | | | llvm-svn: 136169
* Rewrite matching line to be friendlier to misc buildbots.Eric Christopher2011-07-261-1/+1
| | | | llvm-svn: 136168
* Attempt to rewrite the matching for this test to pacify the windowsEric Christopher2011-07-261-2/+3
| | | | | | build bots. llvm-svn: 136166
* Rework the match here to silence release mode windows buildbots.Eric Christopher2011-07-261-1/+1
| | | | llvm-svn: 136164
* Attempt to generalize this test for release mode buildbots.Eric Christopher2011-07-261-1/+1
| | | | llvm-svn: 136163
* Try to generalize the match to quiet the windows build bot.Eric Christopher2011-07-261-1/+1
| | | | llvm-svn: 136162
* Use unsigned long long for uint64_t. Fixes part of the windows buildbot.Eric Christopher2011-07-261-1/+1
| | | | llvm-svn: 136160
* Migrate most of the rest of test/FrontendC from llvm and migrateEric Christopher2011-07-26261-0/+3637
| | | | | | most of them to FileCheck. llvm-svn: 136159
* Adjust check for release mode.Eric Christopher2011-07-261-1/+1
| | | | llvm-svn: 136158
* Migrate:Eric Christopher2011-07-2618-0/+395
| | | | | | | | | | | | | | | | | | | | | | | | | CodeGen/2003-08-21-WideString.c CodeGen/2003-10-02-UnionLValueError.c CodeGen/2004-02-20-Builtins.c CodeGen/2008-01-04-WideBitfield.c CodeGen/2002-07-14-MiscTests3.c CodeGen/2005-04-09-ComplexOps.c CodeGen/2008-12-23-AsmIntPointerTie.c CodeGen/2005-07-20-SqrtNoErrno.c CodeGen/2005-01-02-VAArgError-ICE.c CodeGen/2004-06-17-UnorderedCompares.c CodeGen/2002-06-25-FWriteInterfaceFailure.c CodeGen/2002-02-18-64bitConstant.c CodeGen/2002-05-24-Alloca.c CodeGen/2006-01-13-Includes.c CodeGen/2007-09-27-ComplexIntCompare.c CodeGen/2004-02-13-IllegalVararg.c CodeGen/2007-09-12-PragmaPack.c CodeGen/2002-08-02-UnionTest.c from test/FrontendC with changes to remove header file includes. llvm-svn: 136153
* Migrate CodeGen/2007-03-05-DataLayout.c from test/FrontendC with changesEric Christopher2011-07-261-0/+55
| | | | | | to remove header file includes. llvm-svn: 136134
* Migrate CodeGen/2005-02-20-AggregateSAVEEXPR.c from test/FrontendC withEric Christopher2011-07-261-0/+5
| | | | | | changes to remove any #include lines. llvm-svn: 136129
* Migrate CodeGen/2009-09-24-SqrtErrno.c from test/FrontendC with changesEric Christopher2011-07-261-0/+12
| | | | | | to avoid header inclusions. llvm-svn: 136128
* Migrate CodeGen/2002-03-11-LargeCharInString.c from test/FrontendC andEric Christopher2011-07-261-0/+10
| | | | | | modify to avoid any outside includes. llvm-svn: 136127
* Add CodeGen/2009-07-15-pad-wchar_t-array.c migrated from test/FrontendCEric Christopher2011-07-261-0/+17
| | | | | | and modified to avoid includes. llvm-svn: 136126
* Migrate wchar-const.c with fixes and FileCheck from llvm/test/FrontendC.Eric Christopher2011-07-261-0/+22
| | | | llvm-svn: 136114
* test/CodeGen/2003-08-18-SigSetJmp.c: XFAIL: mingw, too!NAKAMURA Takumi2011-07-261-1/+1
| | | | llvm-svn: 136043
* win32 doesn't have sigsetjmp, just xfail this test there.Eric Christopher2011-07-261-1/+1
| | | | llvm-svn: 136041
* Rework this slightly to work for optimized compilers and remove theEric Christopher2011-07-261-2/+2
| | | | | | optimization from the test. llvm-svn: 136039
* These tests use standard headers and so need ms extensions with MSVC headers.Eric Christopher2011-07-262-15/+15
| | | | | | Use the driver instead of just clang -cc1. llvm-svn: 136037
* Remove this test, it's more properly an optimizer test.Eric Christopher2011-07-261-23/+0
| | | | llvm-svn: 136036
* Migrate and FileCheck-ize some of:Eric Christopher2011-07-2627-0/+585
| | | | | | | | 2003-09-18-BitfieldTests.c 2007-04-11-PR1321.c 2003-11-13-TypeSafety.c 2003-08-29-StructLayoutBug.c 2010-05-14-Optimized-VarType.c 2003-10-06-NegateExprType.c 2007-06-05-NoInlineAttribute.c 2011-03-31-ArrayRefFolding.c 2010-07-14-ref-off-end.c Atomics-no64bit.c 2007-05-11-str-const.c 2004-11-27-InvalidConstantExpr.c 2007-04-05-UnPackedStruct.c 2004-03-15-SimpleIndirectGoto.c 2004-01-08-ExternInlineRedefine.c sret2.c 2007-02-07-AddrLabel.c 2002-09-19-StarInLabel.c 2003-11-16-StaticArrayInit.c 2003-08-18-SigSetJmp.c 2007-04-24-VolatileStructCopy.c 2002-07-29-Casts.c 2005-06-15-ExpandGotoInternalProblem.c 2007-09-17-WeakRef.c 2007-04-24-str-const.c 2003-08-30-LargeIntegerBitfieldMember.c inline-asm-mrv.c from llvm/test/FrontendC. llvm-svn: 136035
* fix PR10415, tidying up IR representation of module level inline asmChris Lattner2011-07-231-0/+9
| | | | | | to avoid extraneous \n's. llvm-svn: 135862
* Check column number also.Devang Patel2011-07-181-1/+1
| | | | llvm-svn: 135437
* Don't crash when codegen'ing an empty redecl of a function in C99 mode, whenNick Lewycky2011-07-181-0/+6
| | | | | | neither was inline. Fixes bug introduced in r135377. llvm-svn: 135380
* In C99, emit an inline function when encountering an extern redeclaration.Nick Lewycky2011-07-181-0/+7
| | | | | | Fixes PR10233! llvm-svn: 135377
* Enhance the IR type lowering code to be much smarter about recursively loweringChris Lattner2011-07-151-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | types. Fore xample, we used to lower: struct bar { int a; }; struct foo { void (*FP)(struct bar); } G; to: %struct.foo = type { {}* } since the function pointer would cause recursive translation of bar and we didn't know if that would get us into trouble. We are now smart enough to know that it is fine, so we get this type instead: %struct.foo = type { void (i32)* } Codegen still needs to be prepared for uncooperative types at any place, which is why I let the maximally uncooperative code sit around for awhile to help shake out the bugs. llvm-svn: 135244
* Reapply r134946 with fixes. Tested on Benjamin testcase and other test-suite ↵Bruno Cardoso Lopes2011-07-131-2/+2
| | | | | | failures. llvm-svn: 135091
* Emit debug info for extended vectors.Devang Patel2011-07-131-0/+5
| | | | llvm-svn: 135083
* PR10337 reminds me that calls return values, lets handle them justChris Lattner2011-07-131-0/+16
| | | | | | like arguments. Thanks PR10337! :) llvm-svn: 135030
* Revert r134946Bruno Cardoso Lopes2011-07-121-2/+2
| | | | llvm-svn: 135004
* fix an unintended behavior change in the type system rewrite, which caused ↵Chris Lattner2011-07-126-12/+12
| | | | | | | | | | | | | | | | | | | | | us to compile stuff like this: typedef struct { int x, y, z; } foo_t; foo_t g; into: %"struct.<anonymous>" = type { i32, i32, i32 } we now get: %struct.foo_t = type { i32, i32, i32 } This doesn't change the behavior of the compiler, but makes the IR much easier to read. llvm-svn: 134969
* fix PR10335 by watching out for IR type compatibility in call argument lists.Chris Lattner2011-07-121-2/+14
| | | | llvm-svn: 134966
* make test name less specificChris Lattner2011-07-121-0/+0
| | | | llvm-svn: 134964
OpenPOWER on IntegriCloud