summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Revert r125960, it's breaking darwin10 bootstrap.Eric Christopher2011-02-212-28/+8
| | | | llvm-svn: 126163
* Warn when type modifiers on objc method declarations inFariborz Jahanian2011-02-214-21/+79
| | | | | | | protocols do not match with method implementation. // rdar://7076235 llvm-svn: 126162
* The instance size of a metaclass should be the size of a class. This is ↵David Chisnall2011-02-211-1/+6
| | | | | | not, in fact, 0, even for very small classes. (GNU runtime) llvm-svn: 126161
* Add emulation methods for "EOR (Immediate)", "EOR (register)",Johnny Chen2011-02-212-6/+322
| | | | | | "TEQ (immediate)", and "TEQ (register)" operations. llvm-svn: 126160
* Skipping over debugvalue instructions to determine whether the split spot is ↵Evan Cheng2011-02-211-0/+3
| | | | | | in a IT block. rdar://9030770 llvm-svn: 126159
* Add more debugging output.Evan Cheng2011-02-211-2/+4
| | | | llvm-svn: 126158
* Handle FK_PCRel_1 and add a test case for this and FK_PCRel_4.Joerg Sonnenberger2011-02-212-0/+37
| | | | llvm-svn: 126157
* Revert r124611 - "Keep track of incoming argument's location while emitting ↵Devang Patel2011-02-2113-144/+32
| | | | | | | | | | | LiveIns." In other words, do not keep track of argument's location. The debugger (gdb) is not prepared to see line table entries for arguments. For the debugger, "second" line table entry marks beginning of function body. This requires some coordination with debugger to get this working. - The debugger needs to be aware of prolog_end attribute attached with line table entries. - The compiler needs to accurately mark prolog_end in line table entries (at -O0 and at -O1+) llvm-svn: 126155
* C++0x's deduced auto is illegal in typedefs.Richard Smith2011-02-213-2/+9
| | | | | | | | | | This actually rules out too much, since it also catches typedefs for pointers to functions with trailing return types: typedef auto (*F)() -> int; Fix for that (and the same issue in all abstract-declarators) to follow shortly. llvm-svn: 126153
* Targets/Darwin: mcount name on Darwin needs to be unmangled.Daniel Dunbar2011-02-211-0/+1
| | | | llvm-svn: 126152
* Add SplitKit::isOriginalEndpoint and use it to force live range splitting to ↵Jakob Stoklund Olesen2011-02-213-2/+32
| | | | | | | | | | | | | | terminate. An original endpoint is an instruction that killed or defined the original live range before any live ranges were split. When splitting global live ranges, avoid creating local live ranges without any original endpoints. We may still create global live ranges without original endpoints, but such a range won't be split again, and live range splitting still terminates. llvm-svn: 126151
OpenPOWER on IntegriCloud