Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Handle eliminating stores that occur right before a free. | Owen Anderson | 2007-07-11 | 1 | -4/+15 | |
| | | | | llvm-svn: 39753 | |||||
* | Handle packed structs in the CBackend. | Lauro Ramos Venancio | 2007-07-11 | 1 | -1/+4 | |
| | | | | llvm-svn: 39752 | |||||
* | Missed a couple of places where new instructions are added due to spill / ↵ | Evan Cheng | 2007-07-11 | 1 | -67/+77 | |
| | | | | | | restore. llvm-svn: 39748 | |||||
* | Clean up a few things based on Chris' feedback. | Owen Anderson | 2007-07-11 | 1 | -6/+10 | |
| | | | | llvm-svn: 39747 | |||||
* | Adding ability to demote phi to stack. | Tanya Lattner | 2007-07-11 | 1 | -0/+38 | |
| | | | | llvm-svn: 39744 | |||||
* | Fix hang compiling TimberWolf (allow for islands | Dale Johannesen | 2007-07-11 | 1 | -6/+7 | |
| | | | | | | of size other than 4). llvm-svn: 39743 | |||||
* | Assert when TLS is not implemented. | Lauro Ramos Venancio | 2007-07-11 | 6 | -0/+27 | |
| | | | | llvm-svn: 39737 | |||||
* | Exception handling has been implemented. | Duncan Sands | 2007-07-11 | 1 | -3/+2 | |
| | | | | llvm-svn: 39732 | |||||
* | Fix an oversight: for modules with no other identifying target info, | Chris Lattner | 2007-07-11 | 1 | -0/+4 | |
| | | | | | | the sparc backend should be preferred when running on sparcs. llvm-svn: 39142 | |||||
* | If assertions are not enabled, we should return False here. | Duncan Sands | 2007-07-11 | 1 | -5/+4 | |
| | | | | llvm-svn: 38535 | |||||
* | No longer need to track last def / use. | Evan Cheng | 2007-07-11 | 1 | -79/+15 | |
| | | | | llvm-svn: 38534 | |||||
* | Fix for PR1545: Revamp code that update kill information due to register reuse. | Evan Cheng | 2007-07-11 | 1 | -63/+85 | |
| | | | | llvm-svn: 38525 | |||||
* | Add FastDSE, a new algorithm for doing dead store elimination. This ↵ | Owen Anderson | 2007-07-11 | 1 | -0/+130 | |
| | | | | | | | | | | algorithm is not as accurate as the current DSE, but it only a linear scan over each block, rather than quadratic. Eventually (once it has been improved somewhat), this will replace the current DSE. NOTE: This has not yet been extensively tested. llvm-svn: 38517 | |||||
* | Make this work with GLIBCXX_DEBUG. | David Greene | 2007-07-10 | 1 | -1/+8 | |
| | | | | llvm-svn: 38516 | |||||
* | Didn't mean the last commit. Revert. | Evan Cheng | 2007-07-10 | 1 | -8/+6 | |
| | | | | llvm-svn: 38515 | |||||
* | Fix fp_constant_op failure. | Dale Johannesen | 2007-07-10 | 2 | -2/+11 | |
| | | | | llvm-svn: 38514 | |||||
* | Update. | Evan Cheng | 2007-07-10 | 2 | -15/+18 | |
| | | | | llvm-svn: 38513 | |||||
* | fix 80 columnn violations, increasing the world's | Dale Johannesen | 2007-07-10 | 1 | -19/+28 | |
| | | | | | | pedantic satisfaction level. llvm-svn: 38512 | |||||
* | Calculate the size of a array allocation correctly. | Owen Anderson | 2007-07-10 | 1 | -2/+2 | |
| | | | | llvm-svn: 38511 | |||||
* | Fix a crasher when finding the dependency of a call. | Owen Anderson | 2007-07-10 | 1 | -1/+2 | |
| | | | | llvm-svn: 38510 | |||||
* | Make this pass registration static as well. | Owen Anderson | 2007-07-10 | 1 | -2/+2 | |
| | | | | llvm-svn: 38509 | |||||
* | Make the pass registration static. | Owen Anderson | 2007-07-10 | 1 | -2/+2 | |
| | | | | llvm-svn: 38508 | |||||
* | add a note | Chris Lattner | 2007-07-10 | 1 | -0/+26 | |
| | | | | llvm-svn: 38507 | |||||
* | check for correct usage of the byval attribute | Rafael Espindola | 2007-07-10 | 1 | -2/+11 | |
| | | | | llvm-svn: 38506 | |||||
* | During module cloning copy aliases too. This fixes PR1544 | Anton Korobeynikov | 2007-07-10 | 1 | -0/+15 | |
| | | | | llvm-svn: 38505 | |||||
* | Handle vaarg instructions correctly. | Owen Anderson | 2007-07-10 | 1 | -0/+9 | |
| | | | | llvm-svn: 38504 | |||||
* | Change the peep for EXTRACT_VECTOR_ELT of BUILD_PAIR to look for | Dan Gohman | 2007-07-10 | 1 | -7/+19 | |
| | | | | | | | the new CONCAT_VECTORS node type instead, as that's what legalize uses now. And add a peep for EXTRACT_VECTOR_ELT of INSERT_VECTOR_ELT. llvm-svn: 38503 | |||||
* | Volatile loads and stores depend on each other. | Owen Anderson | 2007-07-10 | 1 | -0/+17 | |
| | | | | llvm-svn: 38502 | |||||
* | Remove clobbersPred. Add an OptionalDefOperand to instructions which have ↵ | Evan Cheng | 2007-07-10 | 8 | -137/+154 | |
| | | | | | | the 's' bit. llvm-svn: 38501 | |||||
* | Remove clobbersPred. | Evan Cheng | 2007-07-10 | 1 | -1/+0 | |
| | | | | llvm-svn: 38500 | |||||
* | Add support for finding the dependencies of call and invoke instructions. | Owen Anderson | 2007-07-10 | 1 | -17/+64 | |
| | | | | llvm-svn: 38497 | |||||
* | If the operand is marked M_OPTIONAL_DEF_OPERAND, then it's a def. | Evan Cheng | 2007-07-10 | 1 | -1/+4 | |
| | | | | llvm-svn: 38496 | |||||
* | Somehow this wasn't committed last time. M_CLOBBERS_PRED is gone. | Evan Cheng | 2007-07-10 | 1 | -2/+5 | |
| | | | | llvm-svn: 38495 | |||||
* | Fix the build, and fix the handling of pointer sizes. | Owen Anderson | 2007-07-10 | 1 | -20/+19 | |
| | | | | llvm-svn: 38494 | |||||
* | Fix a bunch of things from Chris' feedback | Owen Anderson | 2007-07-10 | 1 | -31/+45 | |
| | | | | llvm-svn: 38493 | |||||
* | Fix a bug in the folding of binary operators to undef. | Dan Gohman | 2007-07-10 | 1 | -4/+10 | |
| | | | | | | Thanks to Lauro for spotting this! llvm-svn: 38491 | |||||
* | Fix the folding of undef in several binary operators to recognize | Dan Gohman | 2007-07-10 | 1 | -7/+7 | |
| | | | | | | undef in either the left or right operand. llvm-svn: 38489 | |||||
* | When a node value is only used by a CopyToReg, use the user's dest. This ↵ | Evan Cheng | 2007-07-10 | 2 | -51/+56 | |
| | | | | | | should not be restricted to nodes that produce only a single value. llvm-svn: 38485 | |||||
* | Move DenseMapKeyInfo<SDOperand> from LegalizeDAG.cpp to SelectionDAGNodes.h | Evan Cheng | 2007-07-10 | 1 | -12/+0 | |
| | | | | llvm-svn: 38484 | |||||
* | Update the ValueRanges interface to use value numbers instead of Value*s. | Nick Lewycky | 2007-07-10 | 1 | -255/+297 | |
| | | | | llvm-svn: 38483 | |||||
* | Move some key maps from std::map to DenseMap. This improves the time to ↵ | Owen Anderson | 2007-07-10 | 1 | -4/+8 | |
| | | | | | | | | optimize Anton's testcase from 17.5s to 15.7s. llvm-svn: 38480 | |||||
* | Use a cheaper test, delaying calling find_leader() until we know that it's ↵ | Owen Anderson | 2007-07-10 | 1 | -3/+5 | |
| | | | | | | | | necessary. This improves the time to optimize Anton's testcase from 21.1s to 17.6s. llvm-svn: 38479 | |||||
* | Define non-intrinsic instructions for vector min, max, sqrt, rsqrt, and rcp, | Dan Gohman | 2007-07-10 | 4 | -195/+398 | |
| | | | | | | | | | in addition to the intrinsic forms. Add spill-folding entries for these new instructions, and for the scalar min and max instrinsic instructions which were missing. And add some preliminary ISelLowering code for using the new non-intrinsic vector sqrt instruction, and fneg and fabs. llvm-svn: 38478 | |||||
* | Add an assertion if find_leader fails. | Owen Anderson | 2007-07-09 | 1 | -0/+1 | |
| | | | | llvm-svn: 38477 | |||||
* | Take advantage of the new fast SmallPtrSet assignment operator when ↵ | Owen Anderson | 2007-07-09 | 1 | -20/+6 | |
| | | | | | | | | propagating AVAIL_OUT sets. This reduces the time to optimize Anton's testcase from 31.2s to 21.s! llvm-svn: 38475 | |||||
* | Make the assignment operator for SmallPtrSet much faster for normal cases. | Owen Anderson | 2007-07-09 | 1 | -36/+21 | |
| | | | | llvm-svn: 38474 | |||||
* | Preserve volatililty and alignment information when lowering or | Dan Gohman | 2007-07-09 | 2 | -36/+62 | |
| | | | | | | simplifying loads and stores. llvm-svn: 38473 | |||||
* | Expose struct size threhold to allow users to tweak their own setting. | Devang Patel | 2007-07-09 | 1 | -3/+12 | |
| | | | | llvm-svn: 38472 | |||||
* | Change getCopyToParts and getCopyFromParts to always use target-endian | Dan Gohman | 2007-07-09 | 2 | -32/+20 | |
| | | | | | | | | register ordering, for both physical and virtual registers. Update the PPC target lowering for calls to expect registers for the call result to already be in target order. llvm-svn: 38471 | |||||
* | Make the assignment operator for SmallPtrSet return a reference, and fix a ↵ | Owen Anderson | 2007-07-09 | 1 | -1/+1 | |
| | | | | | | | | | | long-standing bug in the copy ctor while I'm at it. Thanks to Chris Lattner for help with this patch. llvm-svn: 38470 |