summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add support for scalar-returning element accesses like V.xChris Lattner2007-08-031-2/+12
| | | | llvm-svn: 40777
* Fix a subtle iterator invalidation bug in a recursive algorithm.Owen Anderson2007-08-031-5/+7
| | | | llvm-svn: 40776
* Prepare for "core" website.Reid Spencer2007-08-031-0/+26
| | | | llvm-svn: 40775
* Long double, part 1 of N. Support in IR.Dale Johannesen2007-08-0315-4515/+3750
| | | | llvm-svn: 40774
* add an observationChris Lattner2007-08-031-0/+27
| | | | llvm-svn: 40772
* implement lvalue to rvalue conversion for ocuvector components. We can now ↵Chris Lattner2007-08-032-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 Lattner2007-08-022-4/+34
| | | | | | | | | | We can now codegen: vec4.xy; as nothing! llvm-svn: 40769
* Add support for encoding a OCUVectorComponent into a single integer.Chris Lattner2007-08-023-5/+37
| | | | llvm-svn: 40768
* oops, this is the real fix.Chris Lattner2007-08-021-1/+1
| | | | llvm-svn: 40766
* update testChris Lattner2007-08-021-1/+1
| | | | llvm-svn: 40765
* rename some helpers, have them return the idx of the field being accessed.Chris Lattner2007-08-023-27/+48
| | | | llvm-svn: 40764
* Use static methods, which don't require an instance of OCUVectorTypeChris Lattner2007-08-021-5/+7
| | | | llvm-svn: 40763
* mark some methods static, don't consider a vector to be an ocuvectorChris Lattner2007-08-021-6/+3
| | | | llvm-svn: 40762
* silence some warnings.Chris Lattner2007-08-021-1/+4
| | | | llvm-svn: 40761
* Minor comment improvements.Chris Lattner2007-08-022-6/+19
| | | | llvm-svn: 40760
* make sure we don't lose the ability to parse carbon.hChris Lattner2007-08-021-0/+5
| | | | llvm-svn: 40759
* Fix an accidental commit.Chris Lattner2007-08-021-1/+1
| | | | llvm-svn: 40758
* More explicit keywords.Dan Gohman2007-08-028-8/+8
| | | | llvm-svn: 40757
* Fix the alignment requirements of several unpck and shuf instructions.Dan Gohman2007-08-023-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 Gohman2007-08-021-4/+4
| | | | llvm-svn: 40754
* Fix 80 col. violations.Owen Anderson2007-08-021-8/+14
| | | | llvm-svn: 40751
* Fix 80 col. violations.Owen Anderson2007-08-021-7/+15
| | | | llvm-svn: 40750
* Fix 80 col. violations.Owen Anderson2007-08-021-14/+23
| | | | llvm-svn: 40749
* don't redefine a parameterChris Lattner2007-08-021-1/+1
| | | | llvm-svn: 40748
* Fix a bug that was causing several miscompilations on SPEC.Owen Anderson2007-08-022-7/+21
| | | | llvm-svn: 40746
* Implement review feedback.Christopher Lamb2007-08-021-4/+4
| | | | llvm-svn: 40745
* I don't have time to restore this functionality right now.Chris Lattner2007-08-021-0/+1
| | | | llvm-svn: 40743
* Replacing a cast with another one does not reduce the number of Chris Lattner2007-08-021-5/+3
| | | | | | casts in the input. llvm-svn: 40741
* Reduced testcase for PR1594Chris Lattner2007-08-021-0/+10
| | | | llvm-svn: 40740
* Disable an xform that causes an infinite loop. This fixes PR1594Chris Lattner2007-08-021-0/+1
| | | | llvm-svn: 40739
* wrap some long lines. Major offenders that are left includeChris Lattner2007-08-027-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 splitingDevang Patel2007-08-023-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 thatDan Gohman2007-08-023-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 Spencer2007-08-021-1/+1
| | | | llvm-svn: 40734
* Expand a contraction to test auto-update on commit.Reid Spencer2007-08-021-1/+1
| | | | llvm-svn: 40733
* Test auto-update with minor grammaro fix.Reid Spencer2007-08-021-2/+2
| | | | llvm-svn: 40732
* Enhance instcombine to be more aggressive about folding casts ofChris Lattner2007-08-022-32/+54
| | | | | | operations of casts. This implements InstCombine/zext-fold.ll llvm-svn: 40726
* Fix bug spotted by Chris.Anders Carlsson2007-08-021-4/+4
| | | | llvm-svn: 40725
* Add extend and extOrTrunc methods that do sign or zero extension depending ↵Anders Carlsson2007-08-021-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 Cheng2007-08-022-12/+53
| | | | llvm-svn: 40723
* Do not emit copies for physical register output if it's not used.Evan Cheng2007-08-023-2/+32
| | | | llvm-svn: 40722
* Fix test.Evan Cheng2007-08-021-1/+1
| | | | llvm-svn: 40721
* Fix PR1575 and test/Transforms/CondProp/2007-08-01-InvalidRead.llChris Lattner2007-08-022-8/+824
| | | | llvm-svn: 40720
* Fix a bug in my previous commitChris Lattner2007-08-021-1/+1
| | | | llvm-svn: 40719
* switch a fixme to an assert.Chris Lattner2007-08-021-2/+1
| | | | llvm-svn: 40717
* Tweak to Expr::isIntegerConstantExpr...make sure the result is appropriately ↵Steve Naroff2007-08-021-2/+5
| | | | | | size for TypesCompatibleExpr's. llvm-svn: 40716
* Increase the macro id cache to look up several recent entries, not just the ↵Chris Lattner2007-08-021-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 Spencer2007-08-021-6/+3
| | | | | | This fixes test/Feature/llvm2cpp.ll llvm-svn: 40714
* Tidy up Parser::ParseTypeofSpecifier()...implement FIXME and minor restructure.Steve Naroff2007-08-021-18/+20
| | | | llvm-svn: 40713
* Style police: Expand the tabs to spaces!Scott Michel2007-08-021-5/+5
| | | | llvm-svn: 40712
OpenPOWER on IntegriCloud