summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* remove this xfail'd test, move it to the X86 readme.Chris Lattner2007-05-051-28/+0
| | | | llvm-svn: 36800
* move CodeGen/X86/overlap-add.ll here.Chris Lattner2007-05-051-0/+27
| | | | llvm-svn: 36799
* We need support for tail calls, this is moved to PR1392Chris Lattner2007-05-052-33/+0
| | | | llvm-svn: 36798
* remove xfailed testcase (attached to pr)Chris Lattner2007-05-051-77/+0
| | | | llvm-svn: 36797
* unxfail this, llc doesn't support this feature yet, so don't run it.Chris Lattner2007-05-051-2/+0
| | | | llvm-svn: 36796
* Remove bogus testcase, PR409 is wontfixChris Lattner2007-05-051-14/+0
| | | | llvm-svn: 36795
* this tests for a missing feature. Move it to PR1391 instead of being anChris Lattner2007-05-051-26/+0
| | | | | | xfailed testcase llvm-svn: 36794
* remove this xfailed testcase, move it into a comment in PR279, an ↵Chris Lattner2007-05-051-8/+0
| | | | | | enhancement PR. llvm-svn: 36793
* llvm-gcc3 is goneChris Lattner2007-05-051-1/+0
| | | | llvm-svn: 36792
* fix failure on ahs3's testerChris Lattner2007-05-051-1/+3
| | | | llvm-svn: 36791
* remove bogus xfailed testcaseChris Lattner2007-05-051-6/+0
| | | | llvm-svn: 36790
* Use the personality function that was registered with MMI rather thanDuncan Sands2007-05-051-9/+2
| | | | | | hardwiring in the C++ one. llvm-svn: 36789
* Check that the right eh personality function is used.Duncan Sands2007-05-051-0/+35
| | | | llvm-svn: 36788
* Propagate alignment/volatility in two places.Chris Lattner2007-05-051-4/+16
| | | | | | | | Implement support for expanding a bitcast from an illegal vector type to a legal one (e.g. 4xi32 -> 4xf32 in SSE1). This fixes PR1371 and CodeGen/X86/2007-05-05-VecCastExpand.ll llvm-svn: 36787
* new testcase for PR1371Chris Lattner2007-05-051-0/+21
| | | | llvm-svn: 36786
* add support for BLOCKINFO records at the module level. This fixes the readerChris Lattner2007-05-051-0/+4
| | | | | | issues reid noticed last night. llvm-svn: 36785
* Fix Transforms/LoopUnroll/2007-05-05-UnrollMiscomp.ll and PR1385.Chris Lattner2007-05-051-18/+17
| | | | | | | | If we have a LCSSA, only modify the input value if the inval was defined by an instruction in the loop. If defined by something before the loop, it is still valid. llvm-svn: 36784
* new testcase for PR1385Chris Lattner2007-05-051-0/+36
| | | | llvm-svn: 36783
* make a temporary for *SI, no functionality change.Chris Lattner2007-05-051-6/+7
| | | | llvm-svn: 36782
* Spelling fix.Duncan Sands2007-05-051-1/+1
| | | | llvm-svn: 36781
* Emit sections/directives in the proper order. This fixes PR1376. Also,Anton Korobeynikov2007-05-056-42/+37
| | | | | | some small cleanup was made. llvm-svn: 36780
* add an abbrev for loads. This shrinks the function block about 50K, from:Chris Lattner2007-05-051-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | Block ID #12 (FUNCTION_BLOCK): Num Instances: 2344 Total Size: 8.8434e+06b/1.10542e+06B/276356W % of file: 35.6726 Average Size: 3772.78b/471.598B/117.899W Tot/Avg SubBlocks: 4065/1.73422 Tot/Avg Abbrevs: 0/0 Tot/Avg Records: 128487/54.8153 % Abbrev Recs: 0 to: Block ID #12 (FUNCTION_BLOCK): Num Instances: 2344 Total Size: 8.44518e+06b/1.05565e+06B/263912W % of file: 34.6203 Average Size: 3602.89b/450.362B/112.59W Tot/Avg SubBlocks: 4065/1.73422 Tot/Avg Abbrevs: 0/0 Tot/Avg Records: 128487/54.8153 % Abbrev Recs: 22.2077 llvm-svn: 36779
* add abbrevs for the constants tables. This shrinks it from 4.49755e6 bitsChris Lattner2007-05-051-61/+123
| | | | | | to 3.85972e6 bits in kc++ llvm-svn: 36778
* minor bugfixChris Lattner2007-05-051-0/+1
| | | | llvm-svn: 36777
* Add abbreviations to the TYPE_BLOCK for pointers, functions, structs and arrays.Chris Lattner2007-05-051-3/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This shrinks the type_block of kc++ from 139901 bits to 99389 bits (0.55% to 0.39% of the file), a 40% reduction. This shrink the record from: Block ID #10 (TYPE_BLOCK): Num Instances: 1 Total Size: 139901b/17487.6B/4371.91W % of file: 0.549306 Num Abbrevs: 0 Num Records: 3203 % Abbrev Recs: 0 to: Block ID #10 (TYPE_BLOCK): Num Instances: 1 Total Size: 99389b/12423.6B/3105.91W % of file: 0.390862 Num Abbrevs: 4 Num Records: 3203 % Abbrev Recs: 99.6566 With a common histogram of: Code Histogram: 1613 POINTER 1100 FUNCTION 255 STRUCT 224 ARRAY 5 INTEGER 2 OPAQUE 1 LABEL 1 DOUBLE 1 VOID 1 NUMENTRY llvm-svn: 36776
* Fix InstCombine/2007-05-04-Crash.ll and PR1384Chris Lattner2007-05-051-10/+14
| | | | llvm-svn: 36775
* new testacse for PR1384Chris Lattner2007-05-051-0/+30
| | | | llvm-svn: 36774
* emit spiffy little histograms of codes, if enabled. Don't print averages ifChris Lattner2007-05-051-11/+47
| | | | | | there is only one item. llvm-svn: 36773
* do not charge subblock sizes to the parent block.Chris Lattner2007-05-051-1/+7
| | | | llvm-svn: 36772
* add a char6 abbrev for bbnames and value names. This represents each characterChris Lattner2007-05-051-12/+30
| | | | | | | | | | | | | | | | | | | | | with 6 bits where possible. This shrinks kc++ from 3324164B to 3183584B. The old VST was: Block ID #14 (VALUE_SYMTAB): Total Size: 1.26713e+07b/1.58391e+06B/395978W Average Size: 5403.53b/675.442B/168.86W % of file: 47.6484 The new one is: Block ID #14 (VALUE_SYMTAB): Total Size: 1.15467e+07b/1.44334e+06B/360834W Average Size: 4923.96b/615.495B/153.874W % of file: 45.3368 This is 11% smaller than the VST in the bytecode format. llvm-svn: 36771
* add a 6-bit encoding type for strings.Chris Lattner2007-05-053-3/+38
| | | | llvm-svn: 36770
* add an abbreviation for the type symtab, this shrinks the TST from 175197 bitsChris Lattner2007-05-051-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | to 103165 bits: Old: Block ID #13 (TYPE_SYMTAB): Num Instances: 1 Total Size: 175197b/21899.6B/5474.91W Average Size: 175197b/21899.6B/5474.91W % of file: 0.657023 Tot/Avg SubBlocks: 0/0 Tot/Avg Abbrevs: 0/0 Tot/Avg Records: 255/255 % Abbrev Recs: 0 New: Block ID #13 (TYPE_SYMTAB): Num Instances: 1 Total Size: 103165b/12895.6B/3223.91W Average Size: 103165b/12895.6B/3223.91W % of file: 0.387937 Tot/Avg SubBlocks: 0/0 Tot/Avg Abbrevs: 1/1 Tot/Avg Records: 255/255 % Abbrev Recs: 100 llvm-svn: 36769
* update to new APIs, make output a bit (haha) nicerChris Lattner2007-05-051-5/+35
| | | | llvm-svn: 36768
* Implement support for globally associating abbrevs with block IDs, whichChris Lattner2007-05-055-64/+264
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | relieves us from having to emit the abbrevs into each instance of the block. This shrinks kc.bit from 3368K to 3333K, but will be a more significant win once instructions are abbreviated. The VST went from: Block ID #14 (VALUE_SYMTAB): Num Instances: 2345 Total Size: 1.29508e+07b/1.61885e+06B/404713W Average Size: 5522.73b/690.342B/172.585W % of file: 48.0645 Tot/Avg SubBlocks: 0/0 Tot/Avg Abbrevs: 7035/3 Tot/Avg Records: 120924/51.5667 % Abbrev Recs: 100 to: Block ID #14 (VALUE_SYMTAB): Num Instances: 2345 Total Size: 1.26713e+07b/1.58391e+06B/395978W Average Size: 5403.53b/675.442B/168.86W % of file: 47.5198 Tot/Avg SubBlocks: 0/0 Tot/Avg Abbrevs: 0/0 Tot/Avg Records: 120924/51.5667 % Abbrev Recs: 100 because we didn't emit the same 3 abbrevs 2345 times :) llvm-svn: 36767
* Add a processor.Lauro Ramos Venancio2007-05-041-0/+1
| | | | llvm-svn: 36765
* allow the 8-bit abbrev to be used for either bb or other valuesChris Lattner2007-05-041-6/+6
| | | | llvm-svn: 36761
* shave another 150K off of kc++, by using a 7-bit encoding for BB namesChris Lattner2007-05-041-1/+12
| | | | | | | | | | | | | | | | | | where we can. This shrinks kc++'s down to 3368K, with a VST record of: Block ID #14 (VALUE_SYMTAB): Num Instances: 2345 Total Size: 1.29508e+07b/1.61885e+06B/404713W Average Size: 5522.73b/690.342B/172.585W % of file: 48.0645 Tot/Avg SubBlocks: 0/0 Tot/Avg Abbrevs: 7035/3 Tot/Avg Records: 120924/51.5667 % Abbrev Recs: 100 Isn't it nice to be able to optimizer bc size without touching the reader? :) llvm-svn: 36759
* where possible, encode symtab names with 7 bits per char instead of 8. ThisChris Lattner2007-05-041-11/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | shaves 110K off kc++ to 3514K. Before: Block ID #14 (VALUE_SYMTAB): Num Instances: 2345 Total Size: 1.50425e+07b/1.88031e+06B/470077W Average Size: 6414.69b/801.837B/200.459W % of file: 51.8057 Tot/Avg SubBlocks: 0/0 Tot/Avg Abbrevs: 2345/1 Tot/Avg Records: 120924/51.5667 % Abbrev Recs: 85.1791 after: Block ID #14 (VALUE_SYMTAB): Num Instances: 2345 Total Size: 1.41229e+07b/1.76536e+06B/441341W Average Size: 6022.56b/752.82B/188.205W % of file: 50.2295 Tot/Avg SubBlocks: 0/0 Tot/Avg Abbrevs: 4690/2 Tot/Avg Records: 120924/51.5667 % Abbrev Recs: 85.1791 llvm-svn: 36758
* use a template to eliminate manual code duplicationChris Lattner2007-05-041-47/+2
| | | | llvm-svn: 36757
* Add an "implies" field to features. This indicates that, if the currentBill Wendling2007-05-045-66/+132
| | | | | | | | feature is set, then the features in the implied list should be set also. The opposite is also enforced: if a feature in the implied list isn't set, then the feature that owns that implies list shouldn't be set either. llvm-svn: 36756
* Encode all value symtab strings as arrays of 8-bit fixed width integers,Chris Lattner2007-05-041-15/+15
| | | | | | | instead of the default inefficient encoding. This shrinks kc++ from 4134K to 3629K llvm-svn: 36755
* add support for array abbreviations.Chris Lattner2007-05-043-59/+101
| | | | llvm-svn: 36754
* eliminate internal length fields from record. Records already know theirChris Lattner2007-05-042-48/+48
| | | | | | total length llvm-svn: 36752
* eliminate lengths from record bodiesChris Lattner2007-05-041-16/+16
| | | | llvm-svn: 36751
* stub out creation of BLOCKINFO_BLOCKChris Lattner2007-05-041-0/+25
| | | | llvm-svn: 36749
* minor cleanups. Add provisions for a new standard BLOCKINFO_BLOCKChris Lattner2007-05-044-17/+41
| | | | | | block type. llvm-svn: 36748
* refcount BitCodeAbbrev objectsChris Lattner2007-05-043-7/+13
| | | | llvm-svn: 36747
* Test that the eh lowering code can handle constant folded bitcasts.Duncan Sands2007-05-041-0/+12
| | | | llvm-svn: 36746
* A bitcast of a global variable may have been constant folded to a GEP -Duncan Sands2007-05-041-26/+30
| | | | | | handle this case too. llvm-svn: 36745
* Use IntrinsicInst to test for prefetch instructions, which is ever soDan Gohman2007-05-041-6/+5
| | | | | | slightly nicer than using CallInst with an extra check; thanks Chris. llvm-svn: 36743
OpenPOWER on IntegriCloud