summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix fp_constant_op failure.Dale Johannesen2007-07-102-2/+11
| | | | llvm-svn: 38514
* Update.Evan Cheng2007-07-102-15/+18
| | | | llvm-svn: 38513
* fix 80 columnn violations, increasing the world'sDale Johannesen2007-07-101-19/+28
| | | | | | pedantic satisfaction level. llvm-svn: 38512
* Calculate the size of a array allocation correctly.Owen Anderson2007-07-101-2/+2
| | | | llvm-svn: 38511
* Fix a crasher when finding the dependency of a call.Owen Anderson2007-07-101-1/+2
| | | | llvm-svn: 38510
* Make this pass registration static as well.Owen Anderson2007-07-101-2/+2
| | | | llvm-svn: 38509
* Make the pass registration static.Owen Anderson2007-07-101-2/+2
| | | | llvm-svn: 38508
* add a noteChris Lattner2007-07-101-0/+26
| | | | llvm-svn: 38507
* check for correct usage of the byval attributeRafael Espindola2007-07-105-2/+21
| | | | llvm-svn: 38506
* During module cloning copy aliases too. This fixes PR1544Anton Korobeynikov2007-07-101-0/+15
| | | | llvm-svn: 38505
* Handle vaarg instructions correctly.Owen Anderson2007-07-101-0/+9
| | | | llvm-svn: 38504
* Change the peep for EXTRACT_VECTOR_ELT of BUILD_PAIR to look forDan Gohman2007-07-103-7/+37
| | | | | | | 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 Anderson2007-07-101-0/+17
| | | | llvm-svn: 38502
* Remove clobbersPred. Add an OptionalDefOperand to instructions which have ↵Evan Cheng2007-07-108-137/+154
| | | | | | the 's' bit. llvm-svn: 38501
* Remove clobbersPred.Evan Cheng2007-07-101-1/+0
| | | | llvm-svn: 38500
* Add OptionalDefOperand. Remove clobbersPred. Also add DefinesPredicate to be ↵Evan Cheng2007-07-101-9/+21
| | | | | | used by if-converter. llvm-svn: 38499
* Try committing again. Add OptionalDefOperand. Remove clobbersPred.Evan Cheng2007-07-103-5/+11
| | | | llvm-svn: 38498
* Add support for finding the dependencies of call and invoke instructions.Owen Anderson2007-07-102-17/+66
| | | | llvm-svn: 38497
* If the operand is marked M_OPTIONAL_DEF_OPERAND, then it's a def.Evan Cheng2007-07-101-1/+4
| | | | llvm-svn: 38496
* Somehow this wasn't committed last time. M_CLOBBERS_PRED is gone.Evan Cheng2007-07-101-2/+5
| | | | llvm-svn: 38495
* Fix the build, and fix the handling of pointer sizes.Owen Anderson2007-07-101-20/+19
| | | | llvm-svn: 38494
* Fix a bunch of things from Chris' feedbackOwen Anderson2007-07-102-34/+50
| | | | llvm-svn: 38493
* Add a regression test for folding spill code into scalar min and max.Dan Gohman2007-07-101-0/+20
| | | | llvm-svn: 38492
* Fix a bug in the folding of binary operators to undef.Dan Gohman2007-07-101-4/+10
| | | | | | Thanks to Lauro for spotting this! llvm-svn: 38491
* Make sure to keep symbols for profile build.Reid Spencer2007-07-101-0/+1
| | | | | | Patch by Benoit Boissinot. Thanks, Benoit! llvm-svn: 38490
* Fix the folding of undef in several binary operators to recognizeDan Gohman2007-07-101-7/+7
| | | | | | undef in either the left or right operand. llvm-svn: 38489
* Simplify the handling of the --*flags options. The makefile already gets itReid Spencer2007-07-101-45/+24
| | | | | | | | | | | right so there is no need to duplicate logic, just use the values the makefile provides. Eliminate some redundnt -D options from the output. Fix the help output so it fits on 80 cols. llvm-svn: 38488
* Makesure the -cppflags also uses the CPP.BaseFlags as the CPP.Defines onlyReid Spencer2007-07-101-2/+2
| | | | | | contains some of the defines but not all CPP flags. llvm-svn: 38487
* Make sure that preprocessor symbols like _DEBUG, NDEBUG, and _GLIBC_DEBUG areReid Spencer2007-07-101-5/+4
| | | | | | | | put into the CPP.Defines variable. Seems the convention was corrupted with various changes made. It is important to get command line parameters into the right variable because things like llvm-config and sub-makefiles depend on it. llvm-svn: 38486
* When a node value is only used by a CopyToReg, use the user's dest. This ↵Evan Cheng2007-07-103-53/+58
| | | | | | should not be restricted to nodes that produce only a single value. llvm-svn: 38485
* Move DenseMapKeyInfo<SDOperand> from LegalizeDAG.cpp to SelectionDAGNodes.hEvan Cheng2007-07-102-12/+11
| | | | llvm-svn: 38484
* Update the ValueRanges interface to use value numbers instead of Value*s.Nick Lewycky2007-07-101-255/+297
| | | | llvm-svn: 38483
* Evidently my earlier fix did not go far enough. When resizing a zero-sizedOwen Anderson2007-07-101-1/+2
| | | | | | BitVector, make sure to set or clear ALL of the bits. llvm-svn: 38481
* Move some key maps from std::map to DenseMap. This improves the time to ↵Owen Anderson2007-07-101-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 Anderson2007-07-101-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 Gohman2007-07-104-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 Anderson2007-07-091-0/+1
| | | | llvm-svn: 38477
* When resizing a BitVector with size 0, be sure to clear the low word before ↵Owen Anderson2007-07-091-0/+5
| | | | | | using it. llvm-svn: 38476
* Take advantage of the new fast SmallPtrSet assignment operator when ↵Owen Anderson2007-07-091-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 Anderson2007-07-091-36/+21
| | | | llvm-svn: 38474
* Preserve volatililty and alignment information when lowering orDan Gohman2007-07-092-36/+62
| | | | | | simplifying loads and stores. llvm-svn: 38473
* Expose struct size threhold to allow users to tweak their own setting.Devang Patel2007-07-092-4/+13
| | | | llvm-svn: 38472
* Change getCopyToParts and getCopyFromParts to always use target-endianDan Gohman2007-07-093-32/+33
| | | | | | | | 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 Anderson2007-07-092-2/+2
| | | | | | | | | | long-standing bug in the copy ctor while I'm at it. Thanks to Chris Lattner for help with this patch. llvm-svn: 38470
* Fix memory leak.Devang Patel2007-07-092-5/+8
| | | | llvm-svn: 38469
* Initialize the IndexedModeActions array with memset beforeDan Gohman2007-07-091-1/+3
| | | | | | | | | | | updating it with calls to setIndexedLoadAction/setIndexedStoreAction, which only update a few bits at a time. This avoids ostensible undefined behavior of operationg on values which may be trap-representations, and as a practical matter fixes errors from valgrind, which doesn't track uninitialized memory with bit granularity. llvm-svn: 38468
* Fix an error in the assignment operator that was causing an infinite loop in ↵Owen Anderson2007-07-091-3/+11
| | | | | | | | GVNPRE.cpp. Patch by Chis Lattner. llvm-svn: 38467
* force a cpu without SSEChris Lattner2007-07-091-1/+1
| | | | llvm-svn: 38466
* allow this to work on ppc-darwinChris Lattner2007-07-091-4/+4
| | | | llvm-svn: 38465
* remove this bogus t-tChris Lattner2007-07-091-1/+0
| | | | llvm-svn: 38464
OpenPOWER on IntegriCloud