summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Refactor some code out of ConvertUsesToScalar into their own methods, noChris Lattner2008-02-291-148/+190
| | | | | | functionality change. llvm-svn: 47751
* Folding or(fcmp,fcmp) only works if the operands of the fcmps are the same ↵Chris Lattner2008-02-292-1/+18
| | | | | | fp type. llvm-svn: 47750
* No need for coalescer to update kills. Only copies are coalesced and those ↵Evan Cheng2008-02-292-69/+3
| | | | | | instructions will be deleted. Doh. llvm-svn: 47749
* Remove redundant #include.Evan Cheng2008-02-291-1/+0
| | | | llvm-svn: 47748
* also pass -compatibility_version when linking shared object for DarwinNick Kledzik2008-02-291-1/+3
| | | | llvm-svn: 47747
* More APInt-ification.Dan Gohman2008-02-291-107/+42
| | | | llvm-svn: 47746
* Use the new convertFromAPInt instead of convertFromZeroExtendedInteger,Dan Gohman2008-02-291-5/+3
| | | | | | | which allows more of the surrounding arithmetic to be done with APInt instead of uint64_t. llvm-svn: 47745
* Use the new convertFromAPInt instead of convertFromZeroExtendedInteger.Dan Gohman2008-02-291-6/+3
| | | | llvm-svn: 47744
* Use the new APInt-enabled form of getConstant instead of convertingDan Gohman2008-02-291-1/+1
| | | | | | an APInt into a uint64_t to call getConstant. llvm-svn: 47742
* Add support to APInt for shift and rotate operations with APIntDan Gohman2008-02-292-0/+49
| | | | | | instead of uint32_t for the shift/rotate count operand type. llvm-svn: 47741
* Use the correct instruction encodings for the 64-bit MMX movd.Anders Carlsson2008-02-291-2/+2
| | | | llvm-svn: 47740
* Simplify code using convertFromZeroExtendedInteger with an APIntDan Gohman2008-02-291-6/+6
| | | | | | by using the new convertFromAPInt directly. llvm-svn: 47739
* Add a method to APFloat to convert directly from APInt.Dan Gohman2008-02-292-0/+19
| | | | llvm-svn: 47738
* Added option -align-loops=<true/false> to disable loop aligner pass.Evan Cheng2008-02-284-8/+7
| | | | llvm-svn: 47736
* Update testcase.Lauro Ramos Venancio2008-02-281-1/+1
| | | | llvm-svn: 47735
* Interface of getByValTypeAlignment differed betweenDale Johannesen2008-02-284-3/+21
| | | | | | | | generic & x86 versions; change generic to follow x86 and improve comments. Add PPC version (not right for non-Darwin.) llvm-svn: 47734
* Make llvm-ar behave like ar, if you create an empty archive, ar creates an ↵Andrew Lenharth2008-02-282-1/+2
| | | | | | empty archive. llvm-ar would not generate an output file in this case llvm-svn: 47733
* Initialize TextAlignFillValue. Fix revision 47703.Lauro Ramos Venancio2008-02-281-0/+1
| | | | llvm-svn: 47732
* Avoid collisions in value names.Lauro Ramos Venancio2008-02-281-3/+5
| | | | llvm-svn: 47725
* Run 'svn info' in the C locale. Also appropriately escape spaces and ? for ↵Gabor Greif2008-02-281-3/+3
| | | | | | gawk in darwin. llvm-svn: 47723
* Fix an assertion message.Dale Johannesen2008-02-281-1/+1
| | | | llvm-svn: 47722
* add a noteChris Lattner2008-02-281-0/+19
| | | | llvm-svn: 47720
* Document that the shuffle mask may contain undefDuncan Sands2008-02-281-7/+7
| | | | | | values. llvm-svn: 47719
* Simplify and clean up "update" target. AlsoGabor Greif2008-02-281-5/+6
| | | | | | | | | | | | | | add an SVN-UPDATE-OPTIONS variable that controls the update behaviour. This allows to go to a common older revision of all svn directories: gmake update SVN-UPDATE-OPTIONS=-r47717 would rewind both llvm and clang to a common revision (if clang is checked out into the llvm tree). llvm-svn: 47717
* Now that targets are serialized, introduceGabor Greif2008-02-281-1/+13
| | | | | | | | | | | | | | | | two new convenience targets: - update: svn update toplevel and try hard to locate updatable subdirectories using cunning tricks - happiness: update then build and test so what one wants to do now is: nice gmake --jobs happiness Have fun! llvm-svn: 47716
* Treat all targets serially at the toplevel. This allowsGabor Greif2008-02-281-1/+6
| | | | | | | | | | | | | | | to specify nice gmake --jobs all check and go to lunch, while a multiprocessor machine will build everything using spare resources and check the result thereafter. Since concurrency of make is not restricted in subdirectories, this should be a nearly optimal way to do it. Also teach the user about a configure switch. llvm-svn: 47715
* Fix http://llvm.org/bugs/show_bug.cgi?id=2104 by ordering lexicographically ↵Gabor Greif2008-02-282-6/+13
| | | | | | what gets printed. Be const-correct in PrintResults and uninline it too llvm-svn: 47712
* Set to default: x86 no longer fold and into test if it has more than one use.Evan Cheng2008-02-282-2/+1
| | | | llvm-svn: 47711
* Keep track how many commutes are performed by the scheduler.Evan Cheng2008-02-281-0/+4
| | | | llvm-svn: 47710
* Sparc backend doesn't support debug info yet, mark the nodes as expand. ↵Chris Lattner2008-02-281-2/+6
| | | | | | | | This fixes a crash on test/DebugInfo/funccall.ll llvm-svn: 47709
* implement expand for ISD::DECLARE by just deleting it.Chris Lattner2008-02-281-0/+3
| | | | llvm-svn: 47708
* Fix CodeGen/Generic/storetrunc-fp.ll on sparc, PR2105Chris Lattner2008-02-281-1/+2
| | | | llvm-svn: 47707
* fix CodeGen/Generic/2008-01-25-dag-combine-mul.ll on sparc, PR2105Chris Lattner2008-02-282-0/+4
| | | | llvm-svn: 47706
* target-indep codegen memcpy lowering issue.Chris Lattner2008-02-281-0/+44
| | | | llvm-svn: 47705
* Add a random not very important noteChris Lattner2008-02-281-0/+38
| | | | llvm-svn: 47704
* Add a quick and dirty "loop aligner pass". x86 uses it to align its loops to ↵Evan Cheng2008-02-2825-50/+173
| | | | | | 16-byte boundaries. llvm-svn: 47703
* A few more small things I've run into.Eli Friedman2008-02-281-3/+86
| | | | llvm-svn: 47702
* EHPreferredDataFormat hook for PPC targets. Looks like DarwinAnton Korobeynikov2008-02-272-1/+30
| | | | | | uses the same encoding everywhere. Linux FIXME'ed. llvm-svn: 47701
* Remove dead code.Devang Patel2008-02-272-18/+0
| | | | llvm-svn: 47700
* Preparation step for some cleanup/generalization in EH information emission:Anton Korobeynikov2008-02-274-1/+80
| | | | | | provide TAI hook for selection of EH data emission format. Currently unused. llvm-svn: 47699
* New test for misaligned Altivec laod/store.Dale Johannesen2008-02-271-0/+37
| | | | llvm-svn: 47698
* Assert on invalid PHINode::addIncoming() arguments. Patch by Erick Tryzelaar!Anton Korobeynikov2008-02-271-0/+2
| | | | llvm-svn: 47697
* Handle load/store of misaligned vectors that are the Dale Johannesen2008-02-271-19/+30
| | | | | | | | | | | | same size as an int type by doing a bitconvert of load/store of the int type (same algorithm as floating point). This makes them work for ppc Altivec. There was some code that purported to handle loads of (some) vectors by splitting them into two smaller vectors, but getExtLoad rejects subvector loads, so this could never have worked; the patch removes it. llvm-svn: 47696
* fixes from review of first commitNick Kledzik2008-02-276-202/+184
| | | | llvm-svn: 47695
* use PROJ_SRC_DIR so this builds with Apple style buildsNick Kledzik2008-02-271-1/+1
| | | | llvm-svn: 47694
* Don't hard-code the mask size to be 32, which is incorrect on ppc64Dan Gohman2008-02-272-3/+32
| | | | | | | and was causing aborts with the new APInt changes. This may also be fixing an obscure ppc64 bug. llvm-svn: 47692
* This is done.Evan Cheng2008-02-271-24/+0
| | | | llvm-svn: 47688
* Fix a bug in dead spill slot elimination.Evan Cheng2008-02-273-0/+72
| | | | llvm-svn: 47687
* Remove the `else', at Evan's insistence.Dan Gohman2008-02-271-2/+1
| | | | llvm-svn: 47686
* Add -analyze support to postdomtree.Dan Gohman2008-02-272-1/+8
| | | | llvm-svn: 47680
OpenPOWER on IntegriCloud