Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support for scalar-returning element accesses like V.x | Chris Lattner | 2007-08-03 | 1 | -2/+12 |
| | | | | llvm-svn: 40777 | ||||
* | Fix a subtle iterator invalidation bug in a recursive algorithm. | Owen Anderson | 2007-08-03 | 1 | -5/+7 |
| | | | | llvm-svn: 40776 | ||||
* | Prepare for "core" website. | Reid Spencer | 2007-08-03 | 1 | -0/+26 |
| | | | | llvm-svn: 40775 | ||||
* | Long double, part 1 of N. Support in IR. | Dale Johannesen | 2007-08-03 | 15 | -4515/+3750 |
| | | | | llvm-svn: 40774 | ||||
* | add an observation | Chris Lattner | 2007-08-03 | 1 | -0/+27 |
| | | | | llvm-svn: 40772 | ||||
* | implement lvalue to rvalue conversion for ocuvector components. We can now ↵ | Chris Lattner | 2007-08-03 | 2 | -1/+28 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compile stuff like this: typedef __attribute__(( ocu_vector_type(4) )) float float4; float4 test1(float4 V) { return V.wzyx+V; } to: _test1: pshufd $27, %xmm0, %xmm1 addps %xmm0, %xmm1 movaps %xmm1, %xmm0 ret and: _test1: mfspr r2, 256 oris r3, r2, 4096 mtspr 256, r3 li r3, lo16(LCPI1_0) lis r4, ha16(LCPI1_0) lvx v3, r4, r3 vperm v3, v2, v2, v3 vaddfp v2, v3, v2 mtspr 256, r2 blr llvm-svn: 40771 | ||||
* | add support for codegen of an OCUVectorComponent as an lvalue. | Chris Lattner | 2007-08-02 | 2 | -4/+34 |
| | | | | | | | | | | We can now codegen: vec4.xy; as nothing! llvm-svn: 40769 | ||||
* | Add support for encoding a OCUVectorComponent into a single integer. | Chris Lattner | 2007-08-02 | 3 | -5/+37 |
| | | | | llvm-svn: 40768 | ||||
* | oops, this is the real fix. | Chris Lattner | 2007-08-02 | 1 | -1/+1 |
| | | | | llvm-svn: 40766 | ||||
* | update test | Chris Lattner | 2007-08-02 | 1 | -1/+1 |
| | | | | llvm-svn: 40765 | ||||
* | rename some helpers, have them return the idx of the field being accessed. | Chris Lattner | 2007-08-02 | 3 | -27/+48 |
| | | | | llvm-svn: 40764 | ||||
* | Use static methods, which don't require an instance of OCUVectorType | Chris Lattner | 2007-08-02 | 1 | -5/+7 |
| | | | | llvm-svn: 40763 | ||||
* | mark some methods static, don't consider a vector to be an ocuvector | Chris Lattner | 2007-08-02 | 1 | -6/+3 |
| | | | | llvm-svn: 40762 | ||||
* | silence some warnings. | Chris Lattner | 2007-08-02 | 1 | -1/+4 |
| | | | | llvm-svn: 40761 | ||||
* | Minor comment improvements. | Chris Lattner | 2007-08-02 | 2 | -6/+19 |
| | | | | llvm-svn: 40760 | ||||
* | make sure we don't lose the ability to parse carbon.h | Chris Lattner | 2007-08-02 | 1 | -0/+5 |
| | | | | llvm-svn: 40759 | ||||
* | Fix an accidental commit. | Chris Lattner | 2007-08-02 | 1 | -1/+1 |
| | | | | llvm-svn: 40758 | ||||
* | More explicit keywords. | Dan Gohman | 2007-08-02 | 8 | -8/+8 |
| | | | | llvm-svn: 40757 | ||||
* | Fix the alignment requirements of several unpck and shuf instructions. | Dan Gohman | 2007-08-02 | 3 | -13/+71 |
| | | | | | | | | Generalize isPSHUFDMask and add a unary SHUFPD pattern so that SHUFPD's memory operand alignment can be tested as well, with a fix to avoid breaking MMX's use of isPSHUFDMask. llvm-svn: 40756 | ||||
* | Fix pastos in vector arithmetic intrinsics. | Dan Gohman | 2007-08-02 | 1 | -4/+4 |
| | | | | llvm-svn: 40754 | ||||
* | Fix 80 col. violations. | Owen Anderson | 2007-08-02 | 1 | -8/+14 |
| | | | | llvm-svn: 40751 | ||||
* | Fix 80 col. violations. | Owen Anderson | 2007-08-02 | 1 | -7/+15 |
| | | | | llvm-svn: 40750 | ||||
* | Fix 80 col. violations. | Owen Anderson | 2007-08-02 | 1 | -14/+23 |
| | | | | llvm-svn: 40749 | ||||
* | don't redefine a parameter | Chris Lattner | 2007-08-02 | 1 | -1/+1 |
| | | | | llvm-svn: 40748 | ||||
* | Fix a bug that was causing several miscompilations on SPEC. | Owen Anderson | 2007-08-02 | 2 | -7/+21 |
| | | | | llvm-svn: 40746 | ||||
* | Implement review feedback. | Christopher Lamb | 2007-08-02 | 1 | -4/+4 |
| | | | | llvm-svn: 40745 | ||||
* | I don't have time to restore this functionality right now. | Chris Lattner | 2007-08-02 | 1 | -0/+1 |
| | | | | llvm-svn: 40743 | ||||
* | Replacing a cast with another one does not reduce the number of | Chris Lattner | 2007-08-02 | 1 | -5/+3 |
| | | | | | | casts in the input. llvm-svn: 40741 | ||||
* | Reduced testcase for PR1594 | Chris Lattner | 2007-08-02 | 1 | -0/+10 |
| | | | | llvm-svn: 40740 | ||||
* | Disable an xform that causes an infinite loop. This fixes PR1594 | Chris Lattner | 2007-08-02 | 1 | -0/+1 |
| | | | | llvm-svn: 40739 | ||||
* | wrap some long lines. Major offenders that are left include | Chris Lattner | 2007-08-02 | 7 | -11/+16 |
| | | | | | | | | gvn, gvnpre, dse, and predsimplify. To see these, use: make check-line-length llvm-svn: 40738 | ||||
* | Update dominator info for the middle blocks created while spliting | Devang Patel | 2007-08-02 | 3 | -22/+141 |
| | | | | | | | | exit edge to preserve LCSSA. Fix dominance frontier update during loop unswitch. This fixes PR 1589, again llvm-svn: 40737 | ||||
* | Mark the SSE and MMX load instructions that | Dan Gohman | 2007-08-02 | 3 | -0/+16 |
| | | | | | | | | | | X86InstrInfo::isReallyTriviallyReMaterializable knows how to handle with the isReMaterializable flag so that it is given a chance to handle them. Without hoisting constant-pool loads from loops this isn't very visible, though it does keep CodeGen/X86/constant-pool-remat-0.ll from making a copy of the constant pool on the stack. llvm-svn: 40736 | ||||
* | Hyphenate a word, to check auto-update feature. Third times the charm! | Reid Spencer | 2007-08-02 | 1 | -1/+1 |
| | | | | llvm-svn: 40734 | ||||
* | Expand a contraction to test auto-update on commit. | Reid Spencer | 2007-08-02 | 1 | -1/+1 |
| | | | | llvm-svn: 40733 | ||||
* | Test auto-update with minor grammaro fix. | Reid Spencer | 2007-08-02 | 1 | -2/+2 |
| | | | | llvm-svn: 40732 | ||||
* | Enhance instcombine to be more aggressive about folding casts of | Chris Lattner | 2007-08-02 | 2 | -32/+54 |
| | | | | | | operations of casts. This implements InstCombine/zext-fold.ll llvm-svn: 40726 | ||||
* | Fix bug spotted by Chris. | Anders Carlsson | 2007-08-02 | 1 | -4/+4 |
| | | | | llvm-svn: 40725 | ||||
* | Add extend and extOrTrunc methods that do sign or zero extension depending ↵ | Anders Carlsson | 2007-08-02 | 1 | -0/+16 |
| | | | | | | on whether the integer is signed or not llvm-svn: 40724 | ||||
* | Switch some multiplication instructions over to the new scheme for testing. | Evan Cheng | 2007-08-02 | 2 | -12/+53 |
| | | | | llvm-svn: 40723 | ||||
* | Do not emit copies for physical register output if it's not used. | Evan Cheng | 2007-08-02 | 3 | -2/+32 |
| | | | | llvm-svn: 40722 | ||||
* | Fix test. | Evan Cheng | 2007-08-02 | 1 | -1/+1 |
| | | | | llvm-svn: 40721 | ||||
* | Fix PR1575 and test/Transforms/CondProp/2007-08-01-InvalidRead.ll | Chris Lattner | 2007-08-02 | 2 | -8/+824 |
| | | | | llvm-svn: 40720 | ||||
* | Fix a bug in my previous commit | Chris Lattner | 2007-08-02 | 1 | -1/+1 |
| | | | | llvm-svn: 40719 | ||||
* | switch a fixme to an assert. | Chris Lattner | 2007-08-02 | 1 | -2/+1 |
| | | | | llvm-svn: 40717 | ||||
* | Tweak to Expr::isIntegerConstantExpr...make sure the result is appropriately ↵ | Steve Naroff | 2007-08-02 | 1 | -2/+5 |
| | | | | | | size for TypesCompatibleExpr's. llvm-svn: 40716 | ||||
* | Increase the macro id cache to look up several recent entries, not just the ↵ | Chris Lattner | 2007-08-02 | 1 | -11/+14 |
| | | | | | | | | | | | | | | | | | | | last one. This is important in insane cases like the one dannyb sent me recently: #define F0(a) void a(){} #define F1(a) F0(a##0) F0(a##1) F0(a##2) F0(a##3) F0(a##4) F0(a##5) F0(a##6) F0(a##7) #define F2(a) F1(a##0) F1(a##1) F1(a##2) F1(a##3) F1(a##4) F1(a##5) F1(a##6) F1(a##7) #define F3(a) F2(a##0) F2(a##1) F2(a##2) F2(a##3) F2(a##4) F2(a##5) F2(a##6) F2(a##7) #define F4(a) F3(a##0) F3(a##1) F3(a##2) F3(a##3) F3(a##4) F3(a##5) F3(a##6) F3(a##7) #define F5(a) F4(a##0) F4(a##1) F4(a##2) F4(a##3) F4(a##4) F4(a##5) F4(a##6) F4(a##7) #define F6(a) F5(a##0) F5(a##1) F5(a##2) F5(a##3) F5(a##4) F5(a##5) F5(a##6) F5(a##7) F6(f) cpp is great. :) llvm-svn: 40715 | ||||
* | Adjust for new CallInst constructor interface. | Reid Spencer | 2007-08-02 | 1 | -6/+3 |
| | | | | | | This fixes test/Feature/llvm2cpp.ll llvm-svn: 40714 | ||||
* | Tidy up Parser::ParseTypeofSpecifier()...implement FIXME and minor restructure. | Steve Naroff | 2007-08-02 | 1 | -18/+20 |
| | | | | llvm-svn: 40713 | ||||
* | Style police: Expand the tabs to spaces! | Scott Michel | 2007-08-02 | 1 | -5/+5 |
| | | | | llvm-svn: 40712 |