summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Dwarf register 0 is r0, remove incorrect entries.Rafael Espindola2011-05-291-2/+2
| | | | llvm-svn: 132276
* Fix this to work correctly with phis; test case to follow if this successfullyJohn McCall2011-05-291-0/+1
| | | | | | fixes self-host. llvm-svn: 132275
* Remove the dwarf numbers from the D registers. They don't have dwarf numbersRafael Espindola2011-05-291-16/+16
| | | | | | | | and should probably be encoded as DW_OP_reg 32 DW_OP_piece 4 DW_OP_reg 33 llvm-svn: 132274
* lldb-57Greg Clayton2011-05-292-16/+16
| | | | llvm-svn: 132271
* Fixed an issue that could cause LLDB to spin indefinitely.Greg Clayton2011-05-291-0/+1
| | | | llvm-svn: 132270
* Convert Clang over to resuming from landing pads with llvm.eh.resume.John McCall2011-05-2813-102/+153
| | | | | | It's quite likely that this will explode, but I need to know how. :) llvm-svn: 132269
* Fix ARM fast isel to correctly flag memory operands to stores. This fixesCameron Zwarich2011-05-281-5/+7
| | | | | | -verify-machineinstrs failures on several tests. llvm-svn: 132268
* noexcept for <typeindex>. This completes Chapter 20 [utilities].Howard Hinnant2011-05-281-20/+27
| | | | llvm-svn: 132267
* noexcept for <scoped_allocator>.Howard Hinnant2011-05-281-48/+51
| | | | llvm-svn: 132266
* noexcept for <chrono>.Howard Hinnant2011-05-282-13/+13
| | | | llvm-svn: 132265
* noexcept for <functional>.Howard Hinnant2011-05-282-95/+89
| | | | llvm-svn: 132264
* Refactor the type legalizer. Switch TargetLowering to a new enum - ↵Nadav Rotem2011-05-283-53/+62
| | | | | | | | | | | LegalizeTypeAction. This patch does not change the behavior of the type legalizer. The codegen produces the same code. This infrastructural change is needed in order to enable complex decisions for vector types (needed by the vector-select patch). llvm-svn: 132263
* make this a bit less confusingChris Lattner2011-05-281-0/+1
| | | | llvm-svn: 132262
* noexcept for <memory>. I've added a few extension noexcept to: ↵Howard Hinnant2011-05-288-322/+458
| | | | | | allocator_traits<A>::deallocate, allocaate<T>::deallocate, return_temporary_buffer, and default_delete<T>::operator()(T*) const. My rationale was: If a std-dicated noexcept function needs to call another std-defined function, that called function must be noexcept. We're all a little new to noexcept, so things like this are to be expected. Also included fix for broken __is_swappable trait pointed out by Marc Glisse, thanks Marc|. And fixed a test case for is_nothrow_destructible. Destructors are now noexcept by default| llvm-svn: 132261
* Eliminate temporary argument vectors.Benjamin Kramer2011-05-286-49/+21
| | | | llvm-svn: 132260
* Fix another type mismatch.David Chisnall2011-05-281-2/+2
| | | | llvm-svn: 132259
* Fix missing cast.David Chisnall2011-05-281-5/+7
| | | | llvm-svn: 132258
* adding XFAIL and XTARGET to those that require Darwin hostRenato Golin2011-05-288-0/+17
| | | | llvm-svn: 132257
* Erase instructions _after_ checking their type.Benjamin Kramer2011-05-281-3/+4
| | | | llvm-svn: 132256
* Move ARM specific test into the ARM subdir.Benjamin Kramer2011-05-281-0/+0
| | | | llvm-svn: 132255
* ConstantFoldInstOperands doesn't like compares, hand it off to instsimplify ↵Benjamin Kramer2011-05-282-0/+20
| | | | | | | | instead. Fixes PR10040. llvm-svn: 132254
* Implement and document the llvm.eh.resume intrinsic, which isJohn McCall2011-05-284-139/+338
| | | | | | | | | | | | | | | | | transformed by the inliner into a branch to the enclosing landing pad (when inlined through an invoke). If not so optimized, it is lowered DWARF EH preparation into a call to _Unwind_Resume (or _Unwind_SjLj_Resume as appropriate). Its chief advantage is that it takes both the exception value and the selector value as arguments, meaning that there is zero effort in recovering these; however, the frontend is required to pass these down, which is not actually particularly difficult. Also document the behavior of landing pads a bit better, and make it clearer that it's okay that personality functions don't always land at landing pads. This is just a fact of life. Don't write optimizations that rely on pushing things over an unwind edge. llvm-svn: 132253
* Change how tblgen generates attributes for intrinsics to use a singleJohn McCall2011-05-284-59/+124
| | | | | | | | | switch. With this newfound organization, teach tblgen how not to give all intrinsics the 'nounwind' attribute. Introduce a new intrinsic, llvm.eh.resume, which does not have this attribute. Documentation and uses to follow. llvm-svn: 132252
* When generating code for Win64 EH, emit StartProc and EndProc directives.Charles Davis2011-05-283-0/+33
| | | | llvm-svn: 132250
* Add support for ARM ldrexd/strexd builtinsBruno Cardoso Lopes2011-05-282-0/+39
| | | | llvm-svn: 132249
* Add support for ARM ldrexd/strexd intrinsics. They both use i32 register pairsBruno Cardoso Lopes2011-05-286-5/+182
| | | | | | | | to load/store i64 values. Since there's no current support to explicitly declare such restrictions, implement it by using specific hardcoded register pairs during isel. llvm-svn: 132248
* Add a couple of helper methods in the SourceManager API, ↵Argyrios Kyrtzidis2011-05-282-0/+75
| | | | | | | | isAtStartOfMacroInstantiation/isAtEndOfMacroInstantiation useful only for source locations that point at a macro token. llvm-svn: 132247
* This actually starts at offset 0, not 1.Eric Christopher2011-05-281-1/+1
| | | | llvm-svn: 132246
* Create two BlockInfo entries when a live range is discontinuous through a block.Jakob Stoklund Olesen2011-05-283-55/+71
| | | | | | | | | | | | | | | | | | | Delete the Kill and Def markers in BlockInfo. They are no longer necessary when BlockInfo describes a continuous live range. This only affects the relatively rare kind of basic block where a live range looks like this: |---x o---| Now live range splitting can pretend that it is looking at two blocks: |---x o---| This allows the code to be simplified a bit. llvm-svn: 132245
* Add SplitAnalysis::getNumLiveBlocks().Jakob Stoklund Olesen2011-05-283-5/+12
| | | | | | | | | | | It is important that this function returns the same number of live blocks as countLiveBlocks(CurLI) because live range splitting uses the number of live blocks to ensure it is making progress. This is in preparation of supporting duplicate UseBlock entries for basic blocks that have a virtual register live-in and live-out, but not live-though. llvm-svn: 132244
* Change the set of callee-saved registers for non-MIPS32 architectures specifiedAkira Hatanaka2011-05-281-9/+1
| | | | | | | | | in MipsRegisterInfo::getCalleeSavedRegs so that both registers paired for a double precision register get saved. llvm-svn: 132243
* Implement the 'M' output modifier for arm inline asm. This is fairlyEric Christopher2011-05-282-12/+54
| | | | | | | | | register allocation dependent and will occasionally break. WIP in the register allocator to model paired/etc registers. rdar://9119939 llvm-svn: 132242
* Add missing newlines.Chad Rosier2011-05-284-4/+4
| | | | llvm-svn: 132241
* Define a wrapper node for target constant nodes (tglobaladdr, etc.).Akira Hatanaka2011-05-285-16/+44
| | | | | | Need this to prevent emitting illegal conditional move instructions. llvm-svn: 132240
* Select DW_AT_const_value size based on global variable size.Devang Patel2011-05-281-5/+13
| | | | llvm-svn: 132239
* Add 132187 back now that the real problem is fixed.Rafael Espindola2011-05-281-45/+45
| | | | llvm-svn: 132238
* Fix test cases that were previously using grep to use FileCheckChad Rosier2011-05-2812-37/+56
| | | | llvm-svn: 132237
* Fix the root cause of the bootstrap failure:Rafael Espindola2011-05-282-8/+3
| | | | | | | | There was no way to check if a given register/mode pair was valid. We now return an error code (-2) instead of asserting. If anyone thinks that an assert at this point is really needed, we can autogen a hasValidDwarfRegNum instead. llvm-svn: 132236
* Fix the remaining atomic intrinsics to use the right register classes on Thumb2,Cameron Zwarich2011-05-272-10/+126
| | | | | | and add some basic tests for them. llvm-svn: 132235
* Stub out support for Win64-style exceptions. Note that this is merely usingCharles Davis2011-05-276-3/+102
| | | | | | | the Win64 EH mechanism to implement GCC-style exceptions. LLVM supports hardly anything else at this point! llvm-svn: 132234
* ARM asm parser wasn't able to parse a "mov" instruction while in ThumbBruno Cardoso Lopes2011-05-272-3/+8
| | | | | | | mode (only the "mov.w" variant). Now, when parsing "mov" in thumb mode, default to the Thumb 1 versions/encodings. llvm-svn: 132233
* Fix some comments.Johnny Chen2011-05-272-5/+5
| | | | llvm-svn: 132232
* Add comment headers describing some method groups of our TestBase class.Johnny Chen2011-05-271-1/+12
| | | | | | Remove an unnecessary __import__() function call. llvm-svn: 132231
* It looks like 132187 might have broken the llvm-gcc bootstrap. Revert while ↵Rafael Espindola2011-05-271-45/+45
| | | | | | I check. llvm-svn: 132230
* Clean up a C++0x/C++03 conditional check.Douglas Gregor2011-05-271-5/+4
| | | | llvm-svn: 132229
* Force a triple to make this test pass on Darwin.Eli Friedman2011-05-271-2/+2
| | | | llvm-svn: 132228
* Clean out the 2.9 Release Notes. Mostly limited to What's New in LLVMChad Rosier2011-05-271-265/+53
| | | | | | and enhancements in sub-project status updates. llvm-svn: 132227
* Add unnamed_addr to internal globals which are only used as an operand to ↵Eli Friedman2011-05-274-5/+6
| | | | | | memcpy. (Spotted by looking at IR.) llvm-svn: 132226
* Add a GR32_NOREX_NOSP register class and fix a bug where ↵Cameron Zwarich2011-05-273-2/+58
| | | | | | | | | getMatchingSuperRegClass() was saying that the matching superregister class of GR32_NOREX in GR64_NOREX_NOSP is GR64_NOREX, which drops the NOSP constraint. This fixes PR10032. llvm-svn: 132225
* Fix a regression I recently introduced by removing DwarfRegNum ofRafael Espindola2011-05-272-1/+45
| | | | | | | | | | subregisters: When a value is in a subregister, at least report the location as being the superregister. We should extend the .td files to encode the bit range so that we can produce a DW_OP_bit_piece. llvm-svn: 132224
OpenPOWER on IntegriCloud