summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Back out 60748 for now. It's breaking SPASS, 254.gap, and 464.h264ref.Evan Cheng2008-12-091-5/+1
| | | | llvm-svn: 60776
* Cosmetic changes.Evan Cheng2008-12-091-6/+8
| | | | llvm-svn: 60771
* remove unused varNuno Lopes2008-12-091-2/+0
| | | | llvm-svn: 60770
* Whitespace cleanups.Dan Gohman2008-12-091-12/+14
| | | | llvm-svn: 60769
* Remove Clang tests since clang is not installed on the buildbots.Mikhail Glushenkov2008-12-093-27/+0
| | | | llvm-svn: 60767
* Add some rudimentary tests for .Mikhail Glushenkov2008-12-093-0/+27
| | | | llvm-svn: 60766
* Man page typo fix.Mikhail Glushenkov2008-12-091-1/+1
| | | | llvm-svn: 60765
* Support -emit-llvm properly (with -S and -c).Mikhail Glushenkov2008-12-092-14/+27
| | | | llvm-svn: 60764
* Handle a compiler warning.Duncan Sands2008-12-091-1/+1
| | | | llvm-svn: 60755
* fix typos gabor noticedChris Lattner2008-12-091-1/+1
| | | | llvm-svn: 60754
* Correct my English.Bill Wendling2008-12-091-8/+9
| | | | llvm-svn: 60753
* restructure the top level non-local ptr dep query to handle Chris Lattner2008-12-091-19/+26
| | | | | | | | the first block of a query specially. This makes the "complete query caching" subsystem more effective, avoiding predecessor queries. This speeds up GVN another 4%. llvm-svn: 60752
* rename getNonLocalPointerDepInternal -> getNonLocalPointerDepFromBBChris Lattner2008-12-092-71/+93
| | | | | | | and split its inner loop out into a new GetNonLocalInfoForBlock function. No functionality change. llvm-svn: 60751
* DisableGVCompilation should not abort on internal GlobalValue's.Evan Cheng2008-12-092-4/+5
| | | | llvm-svn: 60750
* In LegalizeOp, don't change the result type of CONVERT_RNDSAT when promotingMon P Wang2008-12-091-2/+2
| | | | | | one of its operand. llvm-svn: 60749
* It's easy to handle SLE/SGE when the loop has a unit stride.Nick Lewycky2008-12-092-1/+29
| | | | llvm-svn: 60748
* if we have two elements, insert both, don't use std::sort.Chris Lattner2008-12-091-3/+16
| | | | | | This speeds up the new GVN by another 3% llvm-svn: 60747
* If we're only adding one new element to 'Cache', insert it into its knownChris Lattner2008-12-091-1/+12
| | | | | | | position instead of using a full sort. This speeds up GVN by ~4% with the new memdep stuff. llvm-svn: 60746
* convert a couple other places that use pred_iterator to use the cachingChris Lattner2008-12-091-2/+4
| | | | | | pred iterator. llvm-svn: 60745
* newline at end of phileChris Lattner2008-12-091-1/+2
| | | | llvm-svn: 60744
* use hte new pred cache to speed up the new non-local memdepChris Lattner2008-12-092-14/+31
| | | | | | | queries. This speeds up GVN using the new queries (not yet checked in) by just over 10%. llvm-svn: 60743
* pred_iterator got a lot slower since use-diet landed. This is a Chris Lattner2008-12-091-0/+56
| | | | | | | really simple cache class for these queries. Hopefully this can be removed if pred_iterator speeds back up. llvm-svn: 60742
* CellSPU:Scott Michel2008-12-092-2/+2
| | | | | | | - Fix call.ll and call_indirect.ll expected results, now that it's using a different pre-register allocation scheduler. llvm-svn: 60741
* Fix getNode to allow a vector for the shift amount for shifts of vectors.Mon P Wang2008-12-094-9/+44
| | | | | | | | Fix the shift amount when unrolling a vector shift into scalar shifts. Fix problem in getShuffleScalarElt where it assumes that the input of a bit convert must be a vector. llvm-svn: 60740
* Fix a really subtle off-by-one bug that Duncan noticed with valgrindChris Lattner2008-12-091-1/+1
| | | | | | on test/CodeGen/Generic/2007-06-06-CriticalEdgeLandingPad. llvm-svn: 60739
* CellSPU:Scott Michel2008-12-091-2/+5
| | | | | | | | - Change default scheduling preference to list-burr, which produces somewhat better code than the default. Could also use list-tdrr, but need to ask dev list about the appropriate handy mnemonic before commiting. llvm-svn: 60738
* Add initial support for fast-isel of the [SU]ADDO intrinsics. It isn'tBill Wendling2008-12-091-7/+84
| | | | | | | | | | | | | | | | | | | complete. For instance, it lowers the common case into this less-than-optimal code: addl %ecx, %eax seto %cl testb %cl, %cl jne LBB1_2 ## overflow instead of: addl %ecx, %eax jo LBB1_2 ## overflow That will come in a future commit. llvm-svn: 60737
* Fix the name of ISD::TokenFactor in a comment. Thanks Gabor!Dan Gohman2008-12-091-1/+1
| | | | llvm-svn: 60736
* remove two unneeded forward declarations, pointed out by Gabor.Chris Lattner2008-12-091-2/+0
| | | | llvm-svn: 60735
* Don't charge full latency for an anti-dependence, in this simplisticDan Gohman2008-12-091-3/+7
| | | | | | pipeline model. llvm-svn: 60733
* Fix a couple of mistaken switch case fall-throughs. Thanks to BillDan Gohman2008-12-081-0/+2
| | | | | | for spotting these! llvm-svn: 60728
* Actually test something. Use PR3170 test case.Devang Patel2008-12-081-36/+25
| | | | llvm-svn: 60727
* remove DebugIterations option. Despite the accusations, Chris Lattner2008-12-081-14/+1
| | | | | | | jump threading has been shown to only expose problems not have bugs itself. I'm sure it's completely bug free! ;-) llvm-svn: 60725
* Re-apply 60689 now my head is screwed on right.Evan Cheng2008-12-081-0/+2
| | | | llvm-svn: 60711
* Fix the top-level comments, and fix some 80-column violations.Dan Gohman2008-12-081-7/+9
| | | | llvm-svn: 60707
* Move the conversion to intptr_t to a separate statement. ThisDan Gohman2008-12-081-2/+3
| | | | | | avoids GCC's warning even on 64-bit hosts. llvm-svn: 60706
* Revert 60689. It caused many regressions on Darwin targets.Dan Gohman2008-12-081-3/+1
| | | | llvm-svn: 60705
* Use 'delete []' instead of 'delete' in OwningArray::reset().Ted Kremenek2008-12-081-1/+1
| | | | llvm-svn: 60703
* Fix spelling. Devang Patel2008-12-081-10/+10
| | | | | | Thanks Duncan! llvm-svn: 60702
* Undo previous patch. Devang Patel2008-12-082-4/+2
| | | | llvm-svn: 60701
* Fix comment typo.Duncan Sands2008-12-081-1/+1
| | | | llvm-svn: 60698
* Fix comment typo.Duncan Sands2008-12-081-1/+1
| | | | llvm-svn: 60697
* Factor out the code for sign-extending/truncating gep indicesDan Gohman2008-12-084-26/+57
| | | | | | | | | and use it in x86 address mode folding. Also, make getRegForValue return 0 for illegal types even if it has a ValueMap for them, because Argument values are put in the ValueMap. This fixes PR3181. llvm-svn: 60696
* add another level of caching for non-local pointer queries, keepingChris Lattner2008-12-082-8/+34
| | | | | | | | | track of whether the CachedNonLocalPointerInfo for a block is specific to a block. If so, just return it without any pred scanning. This is good for a 6% speedup on GVN (when it uses this lookup method, which it doesn't right now). llvm-svn: 60695
* consistencyChris Lattner2008-12-081-2/+2
| | | | llvm-svn: 60694
* introduce a new RoundUpAlignment helper function, use it to Chris Lattner2008-12-082-37/+40
| | | | | | | remove some more 64-bit divs and rems from the StructLayout ctor. llvm-svn: 60692
* Make ConstantAggregateZero::get return a ConstantAggregateZero*,Dan Gohman2008-12-082-2/+2
| | | | | | as suggested in PR3182. llvm-svn: 60691
* Update CPP backend for PrintModulePass API changes.Dan Gohman2008-12-081-4/+4
| | | | llvm-svn: 60690
* Perform cheap checks first.Evan Cheng2008-12-081-1/+3
| | | | llvm-svn: 60689
* Speed up getABITypeSize by turning a i64 mul and div into anChris Lattner2008-12-081-2/+6
| | | | | | | | | AND. This is speedup on any reasonable target, but particularly on 32-bit targets where this often turns into a libcall like udivdi3. We know that alignments are a power of two but the compiler doesn't. llvm-svn: 60688
OpenPOWER on IntegriCloud