summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* - Fix a x86 vector isel bug: illegal transformation of a vector_shuffle into aEvan Cheng2008-06-254-15/+54
| | | | | | | | shift. - Add a readme entry for a missing vector_shuffle optimization that results in awful codegen. llvm-svn: 52740
* Add support for expanding PPC 128 bit floats.Duncan Sands2008-06-256-13/+221
| | | | | | | | | | | | | | | | | | | | For this it is convenient to permit floats to be used with EXTRACT_ELEMENT, so I tweaked things to allow that. I also added libcalls for ppcf128 to i32 forms of FP_TO_XINT, since they exist in libgcc and this case can certainly occur (and does occur in the testsuite) - before the i64 libcall was being used. Also, the XINT_TO_FP result seemed to be wrong when the argument is an i128: the wrong fudge factor was added (the i32 and i64 cases were handled directly, but the i128 code fell through to some generic softening code which seemed to think it was i64 to f32!). So I fixed it by adding a fudge factor that I found in my breakfast cereal. llvm-svn: 52739
* Implement JIT support for global aliases, patch by David Chisnall!Chris Lattner2008-06-251-0/+2
| | | | llvm-svn: 52738
* Restore DeadArgElim back to 52570. It's breaking 447.dealII.Evan Cheng2008-06-251-527/+374
| | | | llvm-svn: 52736
* Switch the PPC backend and target-independent JIT to use the libsystem Chris Lattner2008-06-254-37/+5
| | | | | | | InvalidateInstructionCache method instead of calling through a hook on the JIT. This is a host feature, not a target feature. llvm-svn: 52734
* fix compilation errors in my previous patchChris Lattner2008-06-251-4/+5
| | | | llvm-svn: 52733
* Add a new InvalidateInstructionCache method to sys::Memory.Chris Lattner2008-06-252-32/+60
| | | | llvm-svn: 52731
* jump threading can introduce allocas, make sure we promote Chris Lattner2008-06-251-0/+2
| | | | | | them back to registers! llvm-svn: 52729
* run mem2reg after the second jump threading pass in llvm-ld.Chris Lattner2008-06-251-1/+2
| | | | llvm-svn: 52728
* remove a bunch of dead options that never did anything.Chris Lattner2008-06-251-28/+0
| | | | llvm-svn: 52727
* remove some dead options.Chris Lattner2008-06-251-29/+0
| | | | llvm-svn: 52726
* SimpleInstructionSelector is here no more.Dan Gohman2008-06-251-1/+0
| | | | llvm-svn: 52725
* Add/complete support for integer and floatDuncan Sands2008-06-253-38/+282
| | | | | | | | select_cc and friends. This code could be factorized a bit but I'm not sure that it's worth it. llvm-svn: 52724
* Pacify gcc-4.3.Duncan Sands2008-06-251-1/+1
| | | | llvm-svn: 52723
* Remove the OrigVT member from AtomicSDNode, as it is redundant withDan Gohman2008-06-257-38/+31
| | | | | | the base SDNode's VTList. llvm-svn: 52722
* simplify shell syntax to work better on solaris, patch byChris Lattner2008-06-251-1/+1
| | | | | | Nathan Keynes! llvm-svn: 52721
* Added MemOperands to Atomic operations since Atomics touches memory.Mon P Wang2008-06-2526-507/+911
| | | | | | | | Added abstract class MemSDNode for any Node that have an associated MemOperand Changed atomic.lcs => atomic.cmp.swap, atomic.las => atomic.load.add, and atomic.lss => atomic.load.sub llvm-svn: 52706
* Fix a (false) warning on darwin.Matthijs Kooijman2008-06-251-1/+3
| | | | llvm-svn: 52705
* Fix some cosmetics in comments.Matthijs Kooijman2008-06-251-6/+6
| | | | llvm-svn: 52704
* - Use O(1) check of basic block size limit.Evan Cheng2008-06-251-4/+8
| | | | | | - Avoid speculatively execute vector ops. llvm-svn: 52703
* Fix PR2488, a case where we deleted stack restores too aggressively.Chris Lattner2008-06-252-4/+48
| | | | llvm-svn: 52702
* Enable two-address remat by default.Evan Cheng2008-06-254-37/+102
| | | | llvm-svn: 52701
* Use push_back rather than operator[], which is incorrect in this cases. ↵Owen Anderson2008-06-251-1/+1
| | | | | | | | Unfortunately, this slow the testcase down a little bit, but only marginally. llvm-svn: 52700
* Use present tense when talking about User layout. It is implemented now.Gabor Greif2008-06-251-10/+10
| | | | llvm-svn: 52699
* Append to the ActiveTimers std::vector before looking at the timer insteadDan Gohman2008-06-241-1/+1
| | | | | | | | of after, so that any reallocation it does doesn't get counted for the pass being timed. This probably doesn't account for a timing discrepancy I was looking into, but I'm fixing it anyway. llvm-svn: 52693
* v2f32 is now a valid (MMX) type which breaks thisDale Johannesen2008-06-241-3/+3
| | | | | | | | | test (doesn't work for any MMX vector types, it's not me). Rewritten to use v2i16 which is generic and going to stay that way; I think that preserves the point of the test. llvm-svn: 52692
* Add v2f32 (MMX) type to X86. Support is primitive:Dale Johannesen2008-06-244-8/+29
| | | | | | | load,store,call,return,bitcast. This is enough to make call and return work. llvm-svn: 52691
* In ConstantArray::getAsString(), we know the size of the resultant string in ↵Owen Anderson2008-06-241-1/+2
| | | | | | | | advance so we can pre-allocate it and just fill in the entries. This improves the time for the AsmPrinter on InstructionCombining.cpp from 0.4248s to 0.3370s. llvm-svn: 52690
* Use SmallVector instead of std::vector for a minor compile time improvement.Owen Anderson2008-06-241-11/+11
| | | | llvm-svn: 52689
* Revert 52645, the loop unroller changes. It caused a regression in 252.eon.Dan Gohman2008-06-243-192/+103
| | | | llvm-svn: 52688
* Fix a typo in a comment.Dan Gohman2008-06-241-1/+1
| | | | llvm-svn: 52687
* Make Allocate<T>() return a T* instead of a void*. And useDan Gohman2008-06-241-4/+7
| | | | | | static_cast instead of reinterpret_cast. llvm-svn: 52686
* Regenerate configure.Tanya Lattner2008-06-241-24/+26
| | | | llvm-svn: 52685
* Use const_cast instead of a C-style cast.Dan Gohman2008-06-241-1/+1
| | | | llvm-svn: 52684
* Correct a comment.Dan Gohman2008-06-241-1/+1
| | | | llvm-svn: 52683
* Add support for building on solaris, working around namespaceChris Lattner2008-06-243-1/+45
| | | | | | polution problems from system headers. Patch by Nathan Keynes! llvm-svn: 52682
* Pass std::string by reference. Thanks Chris!Dan Gohman2008-06-241-1/+1
| | | | llvm-svn: 52678
* Commit the new DeadArgElim pass again, this time with the gcc bootstrap ↵Matthijs Kooijman2008-06-244-375/+614
| | | | | | | | failures fixed. Also add a testcase to reproduce the gcc bootstrap failure in very much reduced form. llvm-svn: 52677
* Allow the test suite to be checked out into projects/test-suite.Matthijs Kooijman2008-06-243-1/+9
| | | | | | | | | We will keep the old projects/llvm-test working for existing installs. The changes to configure are made manually, since I lack autoconf-2.6. Someone might want to run AutoGen.sh to see if that changes anything. llvm-svn: 52675
* Update testing documentation with more consistent terminology.Matthijs Kooijman2008-06-241-74/+73
| | | | | | | | All of LLVM's testing features are now referred to as the "Testing infrastructure", the DejaGNU tests are just that, and the whole program tests are referred to as the "test suite". llvm-svn: 52674
* Rename a few variables to be more consistent.Matthijs Kooijman2008-06-242-4/+4
| | | | llvm-svn: 52672
* If it's determined safe, remat MOV32r0 (i.e. xor r, r) and others as it is ↵Evan Cheng2008-06-242-11/+98
| | | | | | instead of using the longer MOV32ri instruction. llvm-svn: 52670
* Fix some signed vs. unsigned issues in array and vector handling.Dan Gohman2008-06-241-10/+10
| | | | llvm-svn: 52664
* Add a note about a potential PIC optimization.Dan Gohman2008-06-241-0/+7
| | | | llvm-svn: 52663
* Fixes for being compiled PIC on Linux. This isn't the mostDan Gohman2008-06-241-3/+10
| | | | | | | general solution possible, but it's a fairly simple one. Based on a patch from the OpenGTL project! llvm-svn: 52662
* Remove an incorrect comment.Owen Anderson2008-06-241-2/+0
| | | | llvm-svn: 52660
* Use InstrSlots::NUM rather than pre-dividing by four. Also, mark this const.Owen Anderson2008-06-241-2/+2
| | | | llvm-svn: 52659
* Comment fixes, and make Schedule() pure virtual.Dan Gohman2008-06-241-4/+6
| | | | llvm-svn: 52658
* A brief survey of priority_queue usage in the tree turned this upDan Gohman2008-06-231-1/+1
| | | | | | as a questionable case, but the code isn't actually needed. llvm-svn: 52657
* Add a clear() method to PriorityQueue.Dan Gohman2008-06-231-0/+6
| | | | llvm-svn: 52656
OpenPOWER on IntegriCloud