summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* For PR1205:Reid Spencer2007-03-221-63/+63
| | | | | | | | * Re-enable the APInt version of MaskedValueIsZero. * APIntify the Comput{Un}SignedMinMaxValuesFromKnownBits functions * APIntify visitICmpInst. llvm-svn: 35270
* We generate a shufflevector instruction, so we don't need the builtinBill Wendling2007-03-222-13/+13
| | | | | | intrinsic. llvm-svn: 35269
* Cleanup obsolete stuff.Jeff Cohen2007-03-222-50/+0
| | | | llvm-svn: 35268
* Be more explicit concerning argument sizes.Jeff Cohen2007-03-221-31/+41
| | | | | | Use VC++ byteswap intrinsics. llvm-svn: 35267
* Support added for shifts and unpacking MMX instructions.Bill Wendling2007-03-225-2/+249
| | | | llvm-svn: 35266
* Change uses of Function::front to Function::getEntryBlock for readability.Dan Gohman2007-03-2213-15/+19
| | | | llvm-svn: 35265
* Unbreak non-debug builds.Evan Cheng2007-03-223-0/+6
| | | | llvm-svn: 35264
* Make this test actually match the generated code.Reid Spencer2007-03-221-1/+1
| | | | llvm-svn: 35263
* Add noreturn function attribute.Reid Spencer2007-03-221-0/+4
| | | | llvm-svn: 35262
* Add tests for nounwind and noreturn function attributes.Reid Spencer2007-03-221-2/+2
| | | | llvm-svn: 35261
* Add the NoUnwind function attribute.Reid Spencer2007-03-221-0/+2
| | | | llvm-svn: 35260
* Regenerate.Reid Spencer2007-03-225-1546/+1580
| | | | llvm-svn: 35259
* Add support for the noreturn and nounwind function attributes.Reid Spencer2007-03-222-1/+4
| | | | llvm-svn: 35258
* Fix broken optimization disabled by a logic bug.Nick Lewycky2007-03-221-10/+51
| | | | | | | | | Analyze GEPs. If the indices are all zero, transfer whether the pointer is known to be not null through the GEP. Add a few more cases for xor and shift instructions. llvm-svn: 35257
* Preview nounwind function attribute.Reid Spencer2007-03-221-2/+5
| | | | llvm-svn: 35256
* Another test case.Evan Cheng2007-03-221-15/+13
| | | | llvm-svn: 35255
* More opportunities to reduce load size.Evan Cheng2007-03-221-45/+101
| | | | llvm-svn: 35254
* Test case for PR1257Evan Cheng2007-03-221-0/+97
| | | | llvm-svn: 35253
* Fix for PR1257. Bug in live range shortening as a result of copy coalescingEvan Cheng2007-03-221-11/+9
| | | | | | where the destination is dead. llvm-svn: 35252
* Test case for PR1248Reid Spencer2007-03-221-0/+7
| | | | llvm-svn: 35251
* For PR1145:Reid Spencer2007-03-221-1/+2
| | | | | | | | Add the NoUnwindAttribute to allow explicit marking of functions that do not unwind the stack via the unwind instruction. This is akin to gcc's NoThrow attribute and used for optimizing exception handling. llvm-svn: 35250
* More LangRef fixes. Corrected names of intrinsics.Anton Korobeynikov2007-03-221-37/+37
| | | | llvm-svn: 35249
* Fixed va_arg example. Reported by Roman SamoilovAnton Korobeynikov2007-03-211-5/+9
| | | | llvm-svn: 35248
* For PR1248:Reid Spencer2007-03-211-18/+26
| | | | | | | | | | | | * Fix some indentation and comments in InsertRangeTest * Add an "IsSigned" parameter to AddWithOverflow and make it handle signed additions. Also, APIntify this function so it works with any bitwidth. * For the icmp pred ([us]div %X, C1), C2 transforms, exit early if the div instruction's RHS is zero. * Finally, for icmp pred (sdiv %X, C1), -C2, fix an off-by-one error. The HiBound needs to be incremented in order to get the range test correct. llvm-svn: 35247
* Fix a comment.Reid Spencer2007-03-211-1/+1
| | | | llvm-svn: 35246
* repair x86 performance, dejagnu problems from previous changeDale Johannesen2007-03-216-6/+36
| | | | llvm-svn: 35245
* Add TODO list for MSIL backendAnton Korobeynikov2007-03-211-0/+51
| | | | llvm-svn: 35244
* Add Roman to creditsAnton Korobeynikov2007-03-211-0/+4
| | | | llvm-svn: 35243
* Let the new backend begin!Anton Korobeynikov2007-03-215-2/+1596
| | | | llvm-svn: 35242
* add generation of unnecessary push/pop around callsDale Johannesen2007-03-211-0/+42
| | | | llvm-svn: 35241
* New test case.Evan Cheng2007-03-211-0/+27
| | | | llvm-svn: 35240
* fold (truncate (srl (load x), c)) -> (smaller load (x+c/vt bits))Evan Cheng2007-03-211-6/+24
| | | | llvm-svn: 35239
* Regenerate.Reid Spencer2007-03-212-767/+744
| | | | llvm-svn: 35237
* For PR1243:Reid Spencer2007-03-211-14/+10
| | | | | | | Okay, really fix it this time. Make sure the CurFun.Linkage is set early and consolidate some duplicate code. llvm-svn: 35236
* Regenerate.Reid Spencer2007-03-215-904/+1557
| | | | llvm-svn: 35235
* For PR1256:Reid Spencer2007-03-213-251/+708
| | | | | | | | | | | | | | | | | | Make Signedness information pervasive throughout all types and values. There is no easy way to get around this. Because the GEP instruction can index through an arbitrarily complex value structure, it is necessary to keep track of signedness information throughout that structure. This change makes Signedness a full class, capable of representing Signedness in arbitrarily shaped types. The class is then used throughout llvm-upgrade to track signedness and differentiate between globals, locals, and functions based on their signedness. For PR1243: This patch also removes bogus warnings about renaming internal globals. It now only emits such warnings when renaming non-internal globals because they may affect linkage. llvm-svn: 35234
* Protect R31's frame offset from being used by callee-saved registers, when R31Nicolas Geoffray2007-03-211-0/+20
| | | | | | is the frame pointer. llvm-svn: 35233
* Fix a bug in getAllOnesValue() which brokeZhou Sheng2007-03-211-1/+1
| | | | | | some test cases for bitwidth > 64. llvm-svn: 35232
* Mark re-materializable instructions.Evan Cheng2007-03-213-0/+6
| | | | llvm-svn: 35230
* Updated.Evan Cheng2007-03-201-1/+6
| | | | llvm-svn: 35229
* Potential spiller improvement.Evan Cheng2007-03-201-0/+27
| | | | llvm-svn: 35228
* do not share old induction variables when this would result in invalidDale Johannesen2007-03-205-18/+81
| | | | | | instructions (that would have to be split later) llvm-svn: 35227
* maintain LiveIn when splitting blocks (register scavenging needs it)Dale Johannesen2007-03-203-1/+32
| | | | llvm-svn: 35226
* DominanceFrontier::calculate().Devang Patel2007-03-201-23/+78
| | | | | | Avoid recursion, Use iterative algorithm. llvm-svn: 35225
* Fix some VC++ warnings.Jeff Cohen2007-03-202-1/+2
| | | | llvm-svn: 35224
* Fix (and simplify) 48-bit byte swap.Jeff Cohen2007-03-201-9/+8
| | | | | | Get pos/neg infinity the correct way. llvm-svn: 35223
* LoopSimplify::FindPHIToPartitionLoops()Devang Patel2007-03-201-0/+4
| | | | | | Use ETForest instead of DominatorSet. llvm-svn: 35222
* LoopSimplify::FindPHIToPartitionLoops()Devang Patel2007-03-202-4/+25
| | | | | | Use ETForest instead of DominatorSet. llvm-svn: 35221
* Code clean up.Lauro Ramos Venancio2007-03-201-23/+20
| | | | llvm-svn: 35220
* Minor bug.Evan Cheng2007-03-201-1/+2
| | | | llvm-svn: 35219
OpenPOWER on IntegriCloud