| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add a totally synthetic situation I came up with while looking at a bug in | Nick Lewycky | 2009-02-25 | 1 | -0/+17 |
| | | | | | | | related code. llvm-svn: 65437 | ||||
| * | random notes | Chris Lattner | 2009-02-25 | 1 | -6/+21 |
| | | | | | llvm-svn: 65436 | ||||
| * | Recommend against using Gold to build LLVM. | Nick Lewycky | 2009-02-25 | 1 | -0/+6 |
| | | | | | llvm-svn: 65435 | ||||
| * | don't know if there is a vmkit release to match 2.5 | Chris Lattner | 2009-02-25 | 1 | -1/+1 |
| | | | | | llvm-svn: 65434 | ||||
| * | update clang section | Chris Lattner | 2009-02-25 | 1 | -31/+24 |
| | | | | | llvm-svn: 65430 | ||||
| * | rip out llvm 2.4 details to make room for 2.5 | Chris Lattner | 2009-02-25 | 1 | -242/+19 |
| | | | | | llvm-svn: 65429 | ||||
| * | Expand tabs to spaces (overlooked in previous commit) | Scott Michel | 2009-02-25 | 2 | -13/+13 |
| | | | | | llvm-svn: 65427 | ||||
| * | Remove all "cached" data from BuildVectorSDNode, preferring to retrieve | Scott Michel | 2009-02-25 | 3 | -53/+30 |
| | | | | | | | | | | results via reference parameters. This patch also appears to fix Evan's reported problem supplied as a reduced bugpoint test case. llvm-svn: 65426 | ||||
| * | Added support to have TableGen provide information if an intrinsic (core | Mon P Wang | 2009-02-24 | 5 | -2/+51 |
| | | | | | | | or target) can be overloaded or not. llvm-svn: 65404 | ||||
| * | If compile unit's language is not set then don't crash while dump'ing ↵ | Devang Patel | 2009-02-24 | 1 | -1/+2 |
| | | | | | | | compile unit. llvm-svn: 65402 | ||||
| * | Extension of GEP in constant folder was broken (apparently this code | Daniel Dunbar | 2009-02-24 | 1 | -1/+1 |
| | | | | | | | | has never been run!). - Sorry, don't know how to make an LLVM test case for this. llvm-svn: 65383 | ||||
| * | Rename ScalarEvolution's getIterationCount to getBackedgeTakenCount, | Dan Gohman | 2009-02-24 | 21 | -146/+178 |
| | | | | | | | | | | to more accurately describe what it does. Expand its doxygen comment to describe what the backedge-taken count is and how it differs from the actual iteration count of the loop. Adjust names and comments in associated code accordingly. llvm-svn: 65382 | ||||
| * | Overhaul my earlier submission due to feedback. It's a large patch, but most of | Bill Wendling | 2009-02-24 | 43 | -139/+174 |
| | | | | | | | | | | | | | them are generic changes. - Use the "fast" flag that's already being passed into the asm printers instead of shoving it into the DwarfWriter. - Instead of calling "MI->getParent()->getParent()" for every MI, set the machine function when calling "runOnMachineFunction" in the asm printers. llvm-svn: 65379 | ||||
| * | Add a debugging option for SSC DCE. | Owen Anderson | 2009-02-24 | 1 | -0/+5 |
| | | | | | llvm-svn: 65375 | ||||
| * | - Use the "Fast" flag instead of "OptimizeForSize" to determine whether to emit | Bill Wendling | 2009-02-24 | 12 | -22/+32 |
| | | | | | | | | | | | a DBG_LABEL or not. We want to fall back to the original way of emitting debug info when we're in -O0/-fast mode. - Add plumbing in to pass the "Fast" flag to places that need it. - XFAIL DebugInfo/deaddebuglabel.ll. This is finding 11 labels instead of 8. I need to investigate still. llvm-svn: 65367 | ||||
| * | Add a testcase for the problem fixed in r65289. | Dan Gohman | 2009-02-24 | 1 | -0/+29 |
| | | | | | llvm-svn: 65365 | ||||
| * | Fix a ValueTracking rule: RHS means operand 1, not 0. Add a simple | Dan Gohman | 2009-02-24 | 4 | -3/+16 |
| | | | | | | | | ashr instcombine to help expose this code. And apply the fix to SelectionDAG's copy of this code too. llvm-svn: 65364 | ||||
| * | Generalize the ChangeCompareStride code, in preparation for | Dan Gohman | 2009-02-24 | 1 | -94/+96 |
| | | | | | | | handling non-constant strides. No functionality change. llvm-svn: 65363 | ||||
| * | Preserve the DominanceFrontier analysis in the LoopDeletion pass. | Dan Gohman | 2009-02-24 | 1 | -2/+7 |
| | | | | | llvm-svn: 65359 | ||||
| * | gdb uses DW_AT_prototyped to identify K&R style in C based languages. | Devang Patel | 2009-02-24 | 1 | -0/+5 |
| | | | | | | | This fixes objc.dg/dwarf-prototypes.m scan-assembler DW_AT_prototyped from llvmgcc42 test suite. llvm-svn: 65357 | ||||
| * | Un-XFAIL this test. | Bill Wendling | 2009-02-24 | 1 | -1/+0 |
| | | | | | llvm-svn: 65355 | ||||
| * | While folding unconditional return move DbgRegionEndInst into the ↵ | Devang Patel | 2009-02-24 | 3 | -25/+14 |
| | | | | | | | | | | | | predecessor, instead of removing it. This fixes following tests from llvmgcc42 testsuite. gcc.c-torture/execute/20000605-3.c gcc.c-torture/execute/20020619-1.c gcc.c-torture/execute/20030920-1.c gcc.c-torture/execute/loop-ivopts-1.c llvm-svn: 65353 | ||||
| * | If there is not any debug info available for any global variables and any ↵ | Devang Patel | 2009-02-24 | 1 | -13/+26 |
| | | | | | | | subprograms then there is not any debug info to emit. llvm-svn: 65352 | ||||
| * | Back out the change in 64918 that used sign-extensions when promoting | Dan Gohman | 2009-02-23 | 4 | -41/+15 |
| | | | | | | | | | | trip counts that use signed comparisons. It's not obviously the best approach for preserving trip count information, and at any rate there isn't anything in the tree right now that makes use of that, so for now always using zero-extensions is preferable. llvm-svn: 65347 | ||||
| * | Fast-isel can't do TLS yet, so it should fall back to SDISel | Dan Gohman | 2009-02-23 | 2 | -0/+16 |
| | | | | | | | if it sees TLS addresses. llvm-svn: 65341 | ||||
| * | Correctly implement ImmutableMap::getMaxElement() by getting the actual ↵ | Ted Kremenek | 2009-02-23 | 1 | -1/+1 |
| | | | | | | | <key, value> pair. llvm-svn: 65327 | ||||
| * | Add ImmutableMap::getMaxElement(), a method that returns the <key,value> ↵ | Ted Kremenek | 2009-02-23 | 2 | -0/+16 |
| | | | | | | | pair in a ImmutableMap that has the highest ranked key. llvm-svn: 65326 | ||||
| * | LoopDeletion needs to inform ScalarEvolution when a loop is deleted, | Dan Gohman | 2009-02-23 | 1 | -1/+4 |
| | | | | | | | | | so that ScalarEvolution doesn't hang onto a dangling Loop*, which could be a problem if another Loop happens to get allocated at the same address. llvm-svn: 65323 | ||||
| * | Use the -stack-alignment option instead of using a target triple | Dan Gohman | 2009-02-23 | 1 | -4/+2 |
| | | | | | | | for avoiding dynamic stack realignment. llvm-svn: 65319 | ||||
| * | IndVarSimplify preserves ScalarEvolution. In the | Dan Gohman | 2009-02-23 | 1 | -0/+1 |
| | | | | | | | | -std-compile-opts sequence, this avoids the need for ScalarEvolution to be rerun before LoopDeletion. llvm-svn: 65318 | ||||
| * | Add test case for checkin @r65314. | Zhou Sheng | 2009-02-23 | 1 | -0/+41 |
| | | | | | llvm-svn: 65315 | ||||
| * | Should reset DBI_Prev if DBI_Next == 0. | Zhou Sheng | 2009-02-23 | 1 | -0/+2 |
| | | | | | llvm-svn: 65314 | ||||
| * | Only v1i16 (i.e. _m64) is returned via RAX / RDX. | Evan Cheng | 2009-02-23 | 4 | -20/+60 |
| | | | | | llvm-svn: 65313 | ||||
| * | Make this test use darwin targe triple, to avoid stack traffic on linux. | Nate Begeman | 2009-02-23 | 1 | -0/+2 |
| | | | | | llvm-svn: 65312 | ||||
| * | Generate better code for v8i16 shuffles on SSE2 | Nate Begeman | 2009-02-23 | 14 | -281/+445 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generate better code for v16i8 shuffles on SSE2 (avoids stack) Generate pshufb for v8i16 and v16i8 shuffles on SSSE3 where it is fewer uops. Document the shuffle matching logic and add some FIXMEs for later further cleanups. New tests that test the above. Examples: New: _shuf2: pextrw $7, %xmm0, %eax punpcklqdq %xmm1, %xmm0 pshuflw $128, %xmm0, %xmm0 pinsrw $2, %eax, %xmm0 Old: _shuf2: pextrw $2, %xmm0, %eax pextrw $7, %xmm0, %ecx pinsrw $2, %ecx, %xmm0 pinsrw $3, %eax, %xmm0 movd %xmm1, %eax pinsrw $4, %eax, %xmm0 ret ========= New: _shuf4: punpcklqdq %xmm1, %xmm0 pshufb LCPI1_0, %xmm0 Old: _shuf4: pextrw $3, %xmm0, %eax movsd %xmm1, %xmm0 pextrw $3, %xmm1, %ecx pinsrw $4, %ecx, %xmm0 pinsrw $5, %eax, %xmm0 ======== New: _shuf1: pushl %ebx pushl %edi pushl %esi pextrw $1, %xmm0, %eax rolw $8, %ax movd %xmm0, %ecx rolw $8, %cx pextrw $5, %xmm0, %edx pextrw $4, %xmm0, %esi pextrw $3, %xmm0, %edi pextrw $2, %xmm0, %ebx movaps %xmm0, %xmm1 pinsrw $0, %ecx, %xmm1 pinsrw $1, %eax, %xmm1 rolw $8, %bx pinsrw $2, %ebx, %xmm1 rolw $8, %di pinsrw $3, %edi, %xmm1 rolw $8, %si pinsrw $4, %esi, %xmm1 rolw $8, %dx pinsrw $5, %edx, %xmm1 pextrw $7, %xmm0, %eax rolw $8, %ax movaps %xmm1, %xmm0 pinsrw $7, %eax, %xmm0 popl %esi popl %edi popl %ebx ret Old: _shuf1: subl $252, %esp movaps %xmm0, (%esp) movaps %xmm0, 16(%esp) movaps %xmm0, 32(%esp) movaps %xmm0, 48(%esp) movaps %xmm0, 64(%esp) movaps %xmm0, 80(%esp) movaps %xmm0, 96(%esp) movaps %xmm0, 224(%esp) movaps %xmm0, 208(%esp) movaps %xmm0, 192(%esp) movaps %xmm0, 176(%esp) movaps %xmm0, 160(%esp) movaps %xmm0, 144(%esp) movaps %xmm0, 128(%esp) movaps %xmm0, 112(%esp) movzbl 14(%esp), %eax movd %eax, %xmm1 movzbl 22(%esp), %eax movd %eax, %xmm2 punpcklbw %xmm1, %xmm2 movzbl 42(%esp), %eax movd %eax, %xmm1 movzbl 50(%esp), %eax movd %eax, %xmm3 punpcklbw %xmm1, %xmm3 punpcklbw %xmm2, %xmm3 movzbl 77(%esp), %eax movd %eax, %xmm1 movzbl 84(%esp), %eax movd %eax, %xmm2 punpcklbw %xmm1, %xmm2 movzbl 104(%esp), %eax movd %eax, %xmm1 punpcklbw %xmm1, %xmm0 punpcklbw %xmm2, %xmm0 movaps %xmm0, %xmm1 punpcklbw %xmm3, %xmm1 movzbl 127(%esp), %eax movd %eax, %xmm0 movzbl 135(%esp), %eax movd %eax, %xmm2 punpcklbw %xmm0, %xmm2 movzbl 155(%esp), %eax movd %eax, %xmm0 movzbl 163(%esp), %eax movd %eax, %xmm3 punpcklbw %xmm0, %xmm3 punpcklbw %xmm2, %xmm3 movzbl 188(%esp), %eax movd %eax, %xmm0 movzbl 197(%esp), %eax movd %eax, %xmm2 punpcklbw %xmm0, %xmm2 movzbl 217(%esp), %eax movd %eax, %xmm4 movzbl 225(%esp), %eax movd %eax, %xmm0 punpcklbw %xmm4, %xmm0 punpcklbw %xmm2, %xmm0 punpcklbw %xmm3, %xmm0 punpcklbw %xmm1, %xmm0 addl $252, %esp ret llvm-svn: 65311 | ||||
| * | If nobody minds, I'm using LTO to produce faster binaries. Switch fast codegen | Nick Lewycky | 2009-02-23 | 1 | -2/+2 |
| | | | | | | | off in libLTO. llvm-svn: 65310 | ||||
| * | Changed option name from inline-threshold to basic-inline-threshold because | Mon P Wang | 2009-02-23 | 1 | -1/+1 |
| | | | | | | | inline-threshold option is used by the inliner. llvm-svn: 65309 | ||||
| * | fix some typos that Duncan noticed | Chris Lattner | 2009-02-23 | 1 | -3/+3 |
| | | | | | llvm-svn: 65306 | ||||
| * | Propagate debug loc info through prologue/epilogue. | Bill Wendling | 2009-02-23 | 7 | -28/+39 |
| | | | | | llvm-svn: 65298 | ||||
| * | Introduce the BuildVectorSDNode class that encapsulates the ISD::BUILD_VECTOR | Scott Michel | 2009-02-22 | 14 | -318/+397 |
| | | | | | | | | | | instruction. The class also consolidates the code for detecting constant splats that's shared across PowerPC and the CellSPU backends (and might be useful for other backends.) Also introduces SelectionDAG::getBUID_VECTOR() for generating new BUILD_VECTOR nodes. llvm-svn: 65296 | ||||
| * | Add an option to the gold plugin to make it emit a file with the public api | Nick Lewycky | 2009-02-22 | 1 | -1/+23 |
| | | | | | | | | | | | list that can in turn be passed to -internalize pass through -internalize-public-api-file. Pass gold -plugin-opt=generate-api-file to produce "apifile.txt" in the current directory. llvm-svn: 65295 | ||||
| * | Revert the part of 64623 that attempted to align the source in a | Dan Gohman | 2009-02-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | memcpy to match the alignment of the destination. It isn't necessary for making loads and stores handled like the SSE loadu/storeu intrinsics, and it was causing a performance regression in MultiSource/Applications/JM/lencod. The problem appears to have been a memcpy that copies from some highly aligned array into an alloca; the alloca was then being assigned a large alignment, which required codegen to perform dynamic stack-pointer re-alignment, which forced the enclosing function to have a frame pointer, which led to increased spilling. llvm-svn: 65289 | ||||
| * | Properly parenthesize this expression, fixing a real bug in the new | Dan Gohman | 2009-02-22 | 1 | -1/+1 |
| | | | | | | | -full-lsr code, as well as a GCC warning. llvm-svn: 65288 | ||||
| * | bug 3610: Test case. | Richard Pennington | 2009-02-22 | 1 | -0/+20 |
| | | | | | llvm-svn: 65287 | ||||
| * | If a use operand is marked isKill, don't forget to add kill to its live ↵ | Evan Cheng | 2009-02-22 | 2 | -4/+30 |
| | | | | | | | interval as well. llvm-svn: 65279 | ||||
| * | Add a note. | Evan Cheng | 2009-02-22 | 1 | -0/+28 |
| | | | | | llvm-svn: 65275 | ||||
| * | Be bug compatible with gcc by returning MMX values in RAX. | Evan Cheng | 2009-02-22 | 3 | -8/+18 |
| | | | | | llvm-svn: 65274 | ||||
| * | Do not consider MMX_MOVD64rr a move instructions. The source register is in ↵ | Evan Cheng | 2009-02-22 | 1 | -1/+0 |
| | | | | | | | GR32, the destination is VR64. They are not compatible. llvm-svn: 65273 | ||||
| * | Only try to sink immediate when TLI is not null. It needs to check if ↵ | Evan Cheng | 2009-02-22 | 1 | -1/+1 |
| | | | | | | | immediate would fit in target addressing field. llvm-svn: 65268 | ||||
| * | Regenerate. | Nick Lewycky | 2009-02-21 | 2 | -455/+32 |
| | | | | | llvm-svn: 65250 | ||||

