| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Define placement new wrappers for BumpPtrAllocator and | Dan Gohman | 2010-03-18 | 2 | -101/+69 |
| | | | | | | | | RecyclingAllocator to allow client code to be simpler, and simplify several clients. llvm-svn: 98847 | ||||
| * | Fix pr6543: svn r88806 changed MachineJumpTableInfo::getJumpTableIndex() to | Bob Wilson | 2010-03-18 | 2 | -6/+14 |
| | | | | | | | | | | | | | | | | | | always create a new jump table. The intention was to avoid merging jump tables in SelectionDAGBuilder, and to wait for the branch folding pass to merge tables. Unfortunately, the same getJumpTableIndex() method is also used to merge tables in branch folding, so as a result of this change branch tables are never merged. Worse, the branch folding code is expecting getJumpTableIndex to always return the index of an existing table, but with this change, it never does so. In at least some cases, e.g., pr6543, this creates references to non-existent tables. I've fixed the problem by adding a new createJumpTableIndex function, which will always create a new table, and I've changed getJumpTableIndex to only look at existing tables. llvm-svn: 98845 | ||||
| * | Add explicit braces to avoid ambiguous ‘else’. | Dan Gohman | 2010-03-18 | 1 | -1/+2 |
| | | | | | llvm-svn: 98838 | ||||
| * | Fix comment. | Devang Patel | 2010-03-18 | 1 | -1/+1 |
| | | | | | llvm-svn: 98830 | ||||
| * | Revert "Change coalescer complexity from N^2 to N logN by changing one letter." | Jakob Stoklund Olesen | 2010-03-18 | 1 | -1/+12 |
| | | | | | | | This reverts commit 98776. It broke the llvm-gcc boot strap. llvm-svn: 98784 | ||||
| * | Debug info intrinsic does not intefer during tail call optimization. | Devang Patel | 2010-03-17 | 1 | -0/+3 |
| | | | | | llvm-svn: 98778 | ||||
| * | Change coalescer complexity from N^2 to N logN by changing one letter. | Jakob Stoklund Olesen | 2010-03-17 | 1 | -12/+1 |
| | | | | | | | | | | Remove ugly hack that aborted the coalescer before using N^2 time. This affects functions with very complicated live intervals for physical registers, i.e. functions with thousands of function calls. llvm-svn: 98776 | ||||
| * | Fix EmitSectionOffset incorrect argument. DwarfDebug is emitting debug info ↵ | Devang Patel | 2010-03-17 | 1 | -9/+8 |
| | | | | | | | so isEH is always false. This was hiding until now from compilers because of default arguments. This was hiding from dwarf debug info users because for most of the platform isAbsoluteEHSectionOffsets() is same as isAbsoluteDebugSectionOffsets(). But Chris found it while updating dwarf printer to use MC*. llvm-svn: 98743 | ||||
| * | fix GetOrCreateTemporarySymbol to require a name, clients | Chris Lattner | 2010-03-17 | 1 | -1/+1 |
| | | | | | | | | should use CreateTempSymbol() if they don't care about the name. llvm-svn: 98712 | ||||
| * | Remove a check that can no longer be true, after r84803. | Bob Wilson | 2010-03-16 | 1 | -16/+0 |
| | | | | | llvm-svn: 98694 | ||||
| * | Fix liveintervals handling of dbg_value instructions. | Evan Cheng | 2010-03-16 | 1 | -9/+15 |
| | | | | | llvm-svn: 98686 | ||||
| * | reapply r98656 unmodified, which exposed the asmprinter not | Chris Lattner | 2010-03-16 | 2 | -3/+26 |
| | | | | | | | handling constant unions. llvm-svn: 98680 | ||||
| * | Ignore debug value instructions while analyzing BB for tail duplication. | Devang Patel | 2010-03-16 | 1 | -1/+1 |
| | | | | | llvm-svn: 98675 | ||||
| * | Revert r98656, its breaking all over the place. | Daniel Dunbar | 2010-03-16 | 2 | -26/+3 |
| | | | | | llvm-svn: 98662 | ||||
| * | improve support for uniontype and ConstantUnion, patch by Tim Northover! | Chris Lattner | 2010-03-16 | 2 | -3/+26 |
| | | | | | llvm-svn: 98656 | ||||
| * | Use getFirstTerminator(). | Bill Wendling | 2010-03-16 | 1 | -4/+4 |
| | | | | | llvm-svn: 98604 | ||||
| * | When checking if something's killed, don't rely simply on whether it's marked as | Bill Wendling | 2010-03-16 | 1 | -8/+15 |
| | | | | | | | | "used outside of the block". If the block ends in a return, then it won't be used outside of it. llvm-svn: 98599 | ||||
| * | Fix the third (and last known) case of code update problems due | Chris Lattner | 2010-03-16 | 2 | -28/+122 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | to LLVM IR changes with addr label weirdness. In the testcase, we generate references to the two bb's when codegen'ing the first function: _test1: ## @test1 leaq Ltmp0(%rip), %rax .. leaq Ltmp1(%rip), %rax Then continue to codegen the second function where the blocks get merged. We're now smart enough to emit both labels, producing this code: _test_fun: ## @test_fun ## BB#0: ## %entry Ltmp1: ## Block address taken Ltmp0: ## BB#1: ## %ret movl $-1, %eax ret Rejoice. llvm-svn: 98595 | ||||
| * | Now that the default for Darwin platforms is to place the LSDA into the TEXT | Bill Wendling | 2010-03-15 | 1 | -3/+3 |
| | | | | | | | section, remove the target-specific code that performs this. llvm-svn: 98580 | ||||
| * | Implement support for the case when a reference to a addr-of-bb | Chris Lattner | 2010-03-15 | 2 | -6/+69 |
| | | | | | | | | | | label is generated, but then the block is deleted. Since the value is undefined, we just emit the label right after the entry label of the function. It might matter that the label is in the same section as the function was afterall. llvm-svn: 98579 | ||||
| * | use Mang->getSymbol() more. | Chris Lattner | 2010-03-15 | 1 | -35/+17 |
| | | | | | llvm-svn: 98577 | ||||
| * | Create SDDbgValue for dbg_value intrinsics and remember its connections with ↵ | Devang Patel | 2010-03-15 | 1 | -5/+28 |
| | | | | | | | | | DAG nodes. This is a work in progress. Patch by Dale Johannesen! llvm-svn: 98568 | ||||
| * | Fix the case when a reference to an address taken BB is emitted in one | Chris Lattner | 2010-03-15 | 1 | -6/+110 |
| | | | | | | | | | function, then the BB is RAUW'd before the definition is emitted. There are still two cases not being handled, but this should improve us back to the situation before I touched anything. llvm-svn: 98566 | ||||
| * | revert r98550, it isn't necessary or sufficient. | Chris Lattner | 2010-03-15 | 1 | -15/+3 |
| | | | | | llvm-svn: 98558 | ||||
| * | Emit dwarf variable info communicated by code generator through DBG_VALUE ↵ | Devang Patel | 2010-03-15 | 4 | -14/+107 |
| | | | | | | | | | machine instructions. This is a work in progress. llvm-svn: 98556 | ||||
| * | don't eliminate address-taken blocks here. | Chris Lattner | 2010-03-15 | 1 | -3/+15 |
| | | | | | llvm-svn: 98550 | ||||
| * | SIGN_EXTEND from the same type as the dest is valid. | Chris Lattner | 2010-03-15 | 1 | -1/+1 |
| | | | | | llvm-svn: 98548 | ||||
| * | sink the call to VT.getSizeInBits() down into its uses, | Chris Lattner | 2010-03-15 | 1 | -7/+5 |
| | | | | | | | not all unary nodes necessarily have a simple result type. llvm-svn: 98547 | ||||
| * | fix MCSectionELF to not leak memory, just like I did for MCSymbol. | Chris Lattner | 2010-03-15 | 1 | -4/+6 |
| | | | | | | | | MCSectionMachO is already fine (yay for fixed size arrays?), MCSectionCOFF still leaks. llvm-svn: 98537 | ||||
| * | remove dead method. | Chris Lattner | 2010-03-15 | 1 | -7/+0 |
| | | | | | llvm-svn: 98526 | ||||
| * | Remove pointless forward declaration, MSVC got confused by this. | Benjamin Kramer | 2010-03-14 | 1 | -1/+0 |
| | | | | | llvm-svn: 98519 | ||||
| * | Turn calls to copysignl into an FCOPYSIGN node. Handle FCOPYSIGN nodes | Duncan Sands | 2010-03-14 | 4 | -1/+18 |
| | | | | | | | | with ppc_f128 type by having the type legalizer turn these back into a call to copysignl. llvm-svn: 98514 | ||||
| * | Rename SDDbgValue.h to SDNodeDbgValue.h for consistency. | Evan Cheng | 2010-03-14 | 4 | -6/+6 |
| | | | | | llvm-svn: 98513 | ||||
| * | fix ShrinkDemandedOps to not leave dead nodes around, | Chris Lattner | 2010-03-14 | 1 | -0/+6 |
| | | | | | | | fixing PR6607 llvm-svn: 98512 | ||||
| * | rewrite ShrinkDemandedOps to be faster and indent less, | Chris Lattner | 2010-03-14 | 1 | -48/+64 |
| | | | | | | | no functionality change. llvm-svn: 98511 | ||||
| * | make -view-isel-dags print after the 'ShrinkDemandedOps' pass. | Chris Lattner | 2010-03-14 | 1 | -2/+2 |
| | | | | | llvm-svn: 98509 | ||||
| * | Make default expansion for FP16 <-> FP32 nodes into libcalls | Anton Korobeynikov | 2010-03-14 | 6 | -0/+47 |
| | | | | | llvm-svn: 98501 | ||||
| * | Add DAG nodes to represent FP16 <-> FP32 intrinsics | Anton Korobeynikov | 2010-03-14 | 1 | -0/+8 |
| | | | | | llvm-svn: 98500 | ||||
| * | fix AsmPrinter::GetBlockAddressSymbol to always return a unique | Chris Lattner | 2010-03-14 | 3 | -21/+18 |
| | | | | | | | | label instead of trying to form one based on the BB name (which causes collisions if the name is empty). This fixes PR6608 llvm-svn: 98495 | ||||
| * | get MMI out of the label uniquing business, just go to MCContext | Chris Lattner | 2010-03-14 | 4 | -14/+6 |
| | | | | | | | to get unique assembler temporary labels. llvm-svn: 98489 | ||||
| * | don't use getDWLabel("label" anymore, always go through MMI. | Chris Lattner | 2010-03-14 | 1 | -2/+2 |
| | | | | | llvm-svn: 98485 | ||||
| * | remove now-dead code, all labels use MCSymbols. | Chris Lattner | 2010-03-14 | 1 | -10/+1 |
| | | | | | llvm-svn: 98484 | ||||
| * | change SrcLineInfo to contain a label instead of a label ID. | Chris Lattner | 2010-03-14 | 2 | -9/+7 |
| | | | | | llvm-svn: 98483 | ||||
| * | Now that DBG_LABEL is updated, we can finally make MachineMove | Chris Lattner | 2010-03-14 | 1 | -6/+2 |
| | | | | | | | contain an MCSymbol instead of a label index. llvm-svn: 98482 | ||||
| * | change the DBG_LABEL MachineInstr to always be created | Chris Lattner | 2010-03-14 | 1 | -7/+1 |
| | | | | | | | with an MCSymbol instead of an immediate. llvm-svn: 98481 | ||||
| * | unbreak the build, grr symlinks. | Chris Lattner | 2010-03-14 | 1 | -3/+3 |
| | | | | | llvm-svn: 98477 | ||||
| * | Change this code to allocate temporary labels from mccontext, | Chris Lattner | 2010-03-14 | 1 | -1/+1 |
| | | | | | | | not from MMI. llvm-svn: 98475 | ||||
| * | switch GC_LABEL to use an MCSymbol operand instead of a label ID operand. | Chris Lattner | 2010-03-14 | 4 | -36/+33 |
| | | | | | llvm-svn: 98474 | ||||
| * | Fix some EH failures on NNT I introduced in r98461 | Chris Lattner | 2010-03-14 | 1 | -4/+6 |
| | | | | | llvm-svn: 98471 | ||||
| * | fix a bug I introduced in r98459, causing some NNT failures. | Chris Lattner | 2010-03-14 | 1 | -1/+1 |
| | | | | | llvm-svn: 98470 | ||||

