summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-6/+7
| | | | llvm-svn: 126214
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-10/+11
| | | | llvm-svn: 126213
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-7/+8
| | | | llvm-svn: 126212
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-2/+3
| | | | | | | | On @foobar(double %d, double* %x), AMD64: (%xmm0, %rdi) Win64: (%xmm0, %rdx) (not %rcx!) llvm-svn: 126211
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-5/+6
| | | | llvm-svn: 126210
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-3/+4
| | | | llvm-svn: 126209
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-10/+11
| | | | llvm-svn: 126208
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-4/+5
| | | | llvm-svn: 126207
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-2/+3
| | | | llvm-svn: 126206
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-4/+5
| | | | llvm-svn: 126205
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-2/+4
| | | | llvm-svn: 126204
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-11/+12
| | | | llvm-svn: 126203
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-8/+9
| | | | llvm-svn: 126202
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-3/+4
| | | | llvm-svn: 126201
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-2/+2
| | | | llvm-svn: 126200
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-3/+4
| | | | llvm-svn: 126199
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-2/+3
| | | | llvm-svn: 126198
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-7/+8
| | | | llvm-svn: 126197
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-6/+7
| | | | llvm-svn: 126196
* test/CodeGen/X86/vec_cast.ll: Mark as XFAIL: migw,win32 for workaround of ↵NAKAMURA Takumi2011-02-221-1/+2
| | | | | | PR8311. llvm-svn: 126195
* test/CodeGen/X86/red-zone.ll: Add explicit -mtriple=x86_64-linux.NAKAMURA Takumi2011-02-221-1/+1
| | | | | | Redzone is not applicable on Win64. llvm-svn: 126194
* Establish the iteration variable of an ObjC for-in loop beforeJohn McCall2011-02-224-13/+39
| | | | | | | emitting the collection expression. Fixes some really, really broken code. llvm-svn: 126193
* Guard against de-referencing MBB.end().Evan Cheng2011-02-221-1/+4
| | | | llvm-svn: 126192
* available_externally (hidden or not) GVs are always accessed via stubs. ↵Evan Cheng2011-02-222-1/+19
| | | | | | rdar://9027648. llvm-svn: 126191
* VirtRegRewriter assertion fix.Andrew Trick2011-02-222-2/+54
| | | | | | | Apparently it's ok for multiple operands to "kill" the same register. Fixes PR9237. llvm-svn: 126190
* Reorganize the emission of local variables.John McCall2011-02-228-165/+286
| | | | llvm-svn: 126189
* Add CStringChecker support for strncpy. Patch by Lenny Maiorani!Ted Kremenek2011-02-222-4/+105
| | | | llvm-svn: 126188
* Add CStringChecker support for strnlen. Patch by Lenny Maiorani!Ted Kremenek2011-02-222-0/+172
| | | | llvm-svn: 126187
* lib/CodeGen/TargetInfo.cpp: On Win64, arg i128 should be emitted as INDIRECT.NAKAMURA Takumi2011-02-221-2/+9
| | | | | | mingw-w64's i128 tweak should be done with x86_64-mingw32. llvm-svn: 126186
* Roll out r126169 and r126170 in an attempt to fix the selfhost bot.Cameron Zwarich2011-02-225-112/+11
| | | | llvm-svn: 126185
* Fix a little bug in the handling of enumeration types with a fixedDouglas Gregor2011-02-223-2/+21
| | | | | | | underlying type: we weren't parsing unnamed enumeration types with a fixed underlying type. llvm-svn: 126184
* Warn about implicit conversions between values of different, namedDouglas Gregor2011-02-223-0/+35
| | | | | | enumeration types. Fixes <rdar://problem/8559831>. llvm-svn: 126183
* Added a testcase for the enhanced disassembly bugSean Callanan2011-02-221-0/+4
| | | | | | | fixed in r126147, where a field in the X86 decode structure was being read as bits, not bytes. llvm-svn: 126182
* Fixed llvm-mc in edis mode to use the result ofSean Callanan2011-02-221-1/+4
| | | | | | | operand.evaluate as an error code, not as the contents of the operand. llvm-svn: 126181
* Fixed lit.cfg to no longer recognize the oldSean Callanan2011-02-221-1/+1
| | | | | | | edis name as needing expansion. This tool was been replaced by llvm-mc long ago. llvm-svn: 126180
* Add ARM encoding entries for "CMN (immediate)" and "CMN (register)" operations.Johnny Chen2011-02-221-0/+4
| | | | llvm-svn: 126179
* Add ARM encoding entries for "CMP (immediate)" and "CMP (register)" operations.Johnny Chen2011-02-222-20/+167
| | | | | | | Add ARM/Thumb encoding entries for "CMN (immediate)" and "CMN (register)" operations, with the EmulateCMNImm()/Reg() methods not implemented yet for now. llvm-svn: 126178
* Make clang -cc1 disable Objective-C exceptions by default, and add a ↵Anders Carlsson2011-02-2232-48/+48
| | | | | | | | -fobjc-exceptions flag to turn them on. Update all tests accordingly. llvm-svn: 126177
* Only use blx for external function calls on thumb, these could be fixedEric Christopher2011-02-221-12/+26
| | | | | | | | | up by the dynamic linker, but it's better to use the correct instruction to begin with. Fixes rdar://9011034 llvm-svn: 126176
* Move some Objective-C tests to SemaObjC and CodeGenObjC.Anders Carlsson2011-02-229-0/+0
| | | | llvm-svn: 126175
* In Objective-C, there are no trailing return types, so don't produce ↵Richard Smith2011-02-223-4/+14
| | | | | | diagnostics suggesting they are missing. llvm-svn: 126174
* Add emulation methods for "MVN (immediate)" and "MVN (register)".Johnny Chen2011-02-222-20/+106
| | | | llvm-svn: 126172
* Eliminate valgrind warnings from Python on the 32-bit as well.Cameron Zwarich2011-02-221-4/+4
| | | | llvm-svn: 126171
* Merge information about the number of zero, one, and sign bits of live-out ↵Cameron Zwarich2011-02-225-9/+107
| | | | | | | | | registers at phis. This enables us to eliminate a lot of pointless zexts during the DAGCombine phase. This fixes <rdar://problem/8760114>. llvm-svn: 126170
* Have isel visit blocks in reverse postorder rather than an undefined order. ThisCameron Zwarich2011-02-221-2/+5
| | | | | | allows for the information propagated across basic blocks to be merged at phis. llvm-svn: 126169
* Recognize loopz and loopnz as aliases for loope and loopne.Joerg Sonnenberger2011-02-223-0/+19
| | | | | | From Dimitry Andric. llvm-svn: 126168
* Bug#8945: Add -cxx-isystem option to specify C++ system directories.Joerg Sonnenberger2011-02-225-45/+74
| | | | | | | | | It works like -isystem and the search path keeps -isystem and -cxx-isystem in order relative to each other. -cxx-isystem is only used for C++ sources though. Drop the existing -cxx-system-include option for cc1 as it is now redundant. llvm-svn: 126167
* Fix a few auto-related issues:Richard Smith2011-02-227-29/+109
| | | | | | | | | | | | | | | * 'auto' was being rejected on abstract-declarators with trailing return types and on typedefs with trailing return types. 'auto' is always allowed in these cases. This was found while testing the fix for PR 9278. * A very poor diagnostic was being issued for auto (f() -> int): "return type must be 'auto', not 'auto'". This is closely related to PR 9060. * Trailing return type handling was happening slightly too late, resulting in the checks for functions returning arrays and functions returning functions being missed. llvm-svn: 126166
* Implement xgetbv and xsetbv.Rafael Espindola2011-02-226-1/+26
| | | | | | Patch by Jai Menon. llvm-svn: 126165
* Add reference to PR 9278 for archaeologists.Richard Smith2011-02-221-0/+1
| | | | llvm-svn: 126164
OpenPOWER on IntegriCloud