Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | fix printing of undef vectors, this fixes "simple" and "build" in ↵ | Chris Lattner | 2008-03-02 | 1 | -1/+6 | |
| | | | | | | | | UnitTests/Vector. Now they all pass. llvm-svn: 47820 | |||||
* | insertelement got the wrong operands. | Chris Lattner | 2008-03-02 | 1 | -2/+2 | |
| | | | | llvm-svn: 47819 | |||||
* | Several changes: | Chris Lattner | 2008-03-02 | 1 | -82/+109 | |
| | | | | | | | | | | * Simplify handling of byval, making it easier to understand and more consistent. This fixes PR2065. * Clean up and simplify handling of GEPs. I can actually understand it now! * Implement support for GEP'ing into vectors, this fixes SingleSource/UnitTests/Vector/build2 among others. llvm-svn: 47818 | |||||
* | Fix a bug I introduced in constant array and constant vector handling. | Chris Lattner | 2008-03-02 | 1 | -2/+2 | |
| | | | | llvm-svn: 47816 | |||||
* | implement shufflevector. | Chris Lattner | 2008-03-02 | 1 | -4/+38 | |
| | | | | llvm-svn: 47815 | |||||
* | Add a new ShuffleVectorInst::getMaskValue method. | Chris Lattner | 2008-03-02 | 1 | -6/+24 | |
| | | | | llvm-svn: 47813 | |||||
* | implement extractelement. | Chris Lattner | 2008-03-02 | 1 | -2/+17 | |
| | | | | llvm-svn: 47812 | |||||
* | implement insertelement. | Chris Lattner | 2008-03-02 | 1 | -1/+17 | |
| | | | | llvm-svn: 47811 | |||||
* | respect isSigned for vector types, fixing sdiv of vectors etc. | Chris Lattner | 2008-03-02 | 1 | -2/+2 | |
| | | | | llvm-svn: 47810 | |||||
* | print the attribute in the right place, this fixes function returning vectors. | Chris Lattner | 2008-03-02 | 1 | -2/+2 | |
| | | | | llvm-svn: 47809 | |||||
* | vector types are simple types. This fixes div/rem of vectors. | Chris Lattner | 2008-03-02 | 1 | -10/+11 | |
| | | | | llvm-svn: 47807 | |||||
* | Print vector types appropriately. This gets basic vector code working | Chris Lattner | 2008-03-02 | 1 | -2/+6 | |
| | | | | | | (PR1126) llvm-svn: 47806 | |||||
* | rename PT -> VT for VectorTypes. | Chris Lattner | 2008-03-02 | 1 | -8/+7 | |
| | | | | llvm-svn: 47805 | |||||
* | Print i32/i64 integer constants as 1u instead of ((unsigned int)1). | Chris Lattner | 2008-03-02 | 1 | -21/+22 | |
| | | | | | | Use dyn_cast better. llvm-svn: 47804 | |||||
* | Move pr717 to here. | Chris Lattner | 2008-03-02 | 1 | -0/+14 | |
| | | | | llvm-svn: 47803 | |||||
* | Add an unwind_to field to basic blocks, making them Users instead of Values. | Nick Lewycky | 2008-03-02 | 6 | -27/+80 | |
| | | | | | | This is the first checkin for PR1269, the new EH infrastructure. llvm-svn: 47802 | |||||
* | good catch anton | Andrew Lenharth | 2008-03-01 | 1 | -6/+6 | |
| | | | | llvm-svn: 47800 | |||||
* | make CAS work | Andrew Lenharth | 2008-03-01 | 2 | -2/+3 | |
| | | | | llvm-svn: 47799 | |||||
* | all but CAS working on x86 | Andrew Lenharth | 2008-03-01 | 4 | -46/+70 | |
| | | | | llvm-svn: 47798 | |||||
* | Print the name, not a pointer. | Nick Lewycky | 2008-03-01 | 1 | -1/+1 | |
| | | | | llvm-svn: 47796 | |||||
* | Add lock prefix support to x86. Also add the instructions necessary for the ↵ | Andrew Lenharth | 2008-03-01 | 5 | -6/+88 | |
| | | | | | | atomic ops. They are still marked pseudo, since I cannot figure out what format to use, but they are the correct opcode. llvm-svn: 47795 | |||||
* | Fix PR2113 by verifying allocations. | Chris Lattner | 2008-03-01 | 1 | -3/+6 | |
| | | | | llvm-svn: 47792 | |||||
* | allow specified inline threshold to be negative, as the value is | Chris Lattner | 2008-03-01 | 1 | -1/+1 | |
| | | | | | | itself sometimes negative. llvm-svn: 47786 | |||||
* | Add MVT::is128BitVector and is64BitVector. Shrink | Dale Johannesen | 2008-03-01 | 1 | -16/+5 | |
| | | | | | | | unaligned load/store code using them. Per review of unaligned load/store vector patch. llvm-svn: 47782 | |||||
* | Refactor / clean up code; remove td list scheduler special tie breaker (no ↵ | Evan Cheng | 2008-03-01 | 1 | -78/+59 | |
| | | | | | | real benefit). llvm-svn: 47779 | |||||
* | Fix cut-n-pasto. | Devang Patel | 2008-02-29 | 1 | -19/+1 | |
| | | | | llvm-svn: 47777 | |||||
* | Add pass to promote sret. | Devang Patel | 2008-02-29 | 1 | -0/+292 | |
| | | | | | | | | | | | | | | | | | | | This pass transforms %struct._Point = type { i32, i32, i32, i32, i32, i32 } define internal void @foo(%struct._Point* sret %agg.result) into %struct._Point = type { i32, i32, i32, i32, i32, i32 } define internal %struct._Point @foo() This pass updates foo() clients appropriately to use getresult instruction to extract return values. This pass is not yet ready for prime time. llvm-svn: 47776 | |||||
* | Use enumeration for preffered EH dwarf encoding reason | Anton Korobeynikov | 2008-02-29 | 5 | -13/+17 | |
| | | | | llvm-svn: 47770 | |||||
* | Don't fill eh frames even though these are text sections. | Evan Cheng | 2008-02-29 | 2 | -8/+9 | |
| | | | | llvm-svn: 47765 | |||||
* | If we reload a virtual register that's already been assigned, we want to mark | Bill Wendling | 2008-02-29 | 1 | -1/+2 | |
| | | | | | | that instruction as its "last use". This fixes PR1925. llvm-svn: 47758 | |||||
* | Fix PR2112: don't run loop aligner if target doesn't have a TargetLowering ↵ | Evan Cheng | 2008-02-29 | 1 | -3/+5 | |
| | | | | | | object. llvm-svn: 47755 | |||||
* | fix a bug Anders ran into where scalarrepl would crash when promoting | Chris Lattner | 2008-02-29 | 1 | -57/+68 | |
| | | | | | | | | a union containing a vector and an array whose elements were smaller than the vector elements. this means we need to compile the load of the array elements into an extract element plus a truncate. llvm-svn: 47752 | |||||
* | Refactor some code out of ConvertUsesToScalar into their own methods, no | Chris Lattner | 2008-02-29 | 1 | -148/+190 | |
| | | | | | | functionality change. llvm-svn: 47751 | |||||
* | Folding or(fcmp,fcmp) only works if the operands of the fcmps are the same ↵ | Chris Lattner | 2008-02-29 | 1 | -1/+2 | |
| | | | | | | fp type. llvm-svn: 47750 | |||||
* | No need for coalescer to update kills. Only copies are coalesced and those ↵ | Evan Cheng | 2008-02-29 | 2 | -69/+3 | |
| | | | | | | instructions will be deleted. Doh. llvm-svn: 47749 | |||||
* | Remove redundant #include. | Evan Cheng | 2008-02-29 | 1 | -1/+0 | |
| | | | | llvm-svn: 47748 | |||||
* | More APInt-ification. | Dan Gohman | 2008-02-29 | 1 | -107/+42 | |
| | | | | llvm-svn: 47746 | |||||
* | Use the new convertFromAPInt instead of convertFromZeroExtendedInteger, | Dan Gohman | 2008-02-29 | 1 | -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 Gohman | 2008-02-29 | 1 | -6/+3 | |
| | | | | llvm-svn: 47744 | |||||
* | Use the new APInt-enabled form of getConstant instead of converting | Dan Gohman | 2008-02-29 | 1 | -1/+1 | |
| | | | | | | an APInt into a uint64_t to call getConstant. llvm-svn: 47742 | |||||
* | Add support to APInt for shift and rotate operations with APInt | Dan Gohman | 2008-02-29 | 1 | -0/+27 | |
| | | | | | | 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 Carlsson | 2008-02-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 47740 | |||||
* | Simplify code using convertFromZeroExtendedInteger with an APInt | Dan Gohman | 2008-02-29 | 1 | -6/+6 | |
| | | | | | | by using the new convertFromAPInt directly. llvm-svn: 47739 | |||||
* | Add a method to APFloat to convert directly from APInt. | Dan Gohman | 2008-02-29 | 1 | -0/+17 | |
| | | | | llvm-svn: 47738 | |||||
* | Added option -align-loops=<true/false> to disable loop aligner pass. | Evan Cheng | 2008-02-28 | 4 | -8/+7 | |
| | | | | llvm-svn: 47736 | |||||
* | Interface of getByValTypeAlignment differed between | Dale Johannesen | 2008-02-28 | 3 | -2/+19 | |
| | | | | | | | | 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 Lenharth | 2008-02-28 | 1 | -1/+1 | |
| | | | | | | empty archive. llvm-ar would not generate an output file in this case llvm-svn: 47733 | |||||
* | Initialize TextAlignFillValue. Fix revision 47703. | Lauro Ramos Venancio | 2008-02-28 | 1 | -0/+1 | |
| | | | | llvm-svn: 47732 | |||||
* | Avoid collisions in value names. | Lauro Ramos Venancio | 2008-02-28 | 1 | -3/+5 | |
| | | | | llvm-svn: 47725 | |||||
* | Fix an assertion message. | Dale Johannesen | 2008-02-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 47722 |