summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Adjust offset to compensate for big endian machines.Evan Cheng2007-03-241-7/+5
| | | | llvm-svn: 35293
* Autodetect MMX & SSE stuff for AMD processorsAnton Korobeynikov2007-03-231-10/+11
| | | | llvm-svn: 35292
* This is dead. DEAD I tells you!!Bill Wendling2007-03-231-3/+0
| | | | llvm-svn: 35291
* PR1260:Bill Wendling2007-03-232-6/+26
| | | | | | Add final support to get the QT example to compile. llvm-svn: 35290
* Make sure SEXTLOAD of the specific type is supported on the target.Evan Cheng2007-03-231-0/+4
| | | | llvm-svn: 35289
* Add more test cases for APIntified InstCombine.Reid Spencer2007-03-233-0/+255
| | | | llvm-svn: 35288
* For PR1205:Reid Spencer2007-03-231-762/+37
| | | | | | | | | | | | * APIntify visitAdd and visitSelectInst * Remove unused uint64_t versions of utility functions that have been replaced with APInt versions. This completes most of the changes for APIntification of InstCombine. This passes llvm-test and llvm/test/Transforms/InstCombine/APInt. Patch by Zhou Sheng. llvm-svn: 35287
* Also replace uses of SRL if that's also folded during ReduceLoadWidth().Evan Cheng2007-03-231-1/+8
| | | | llvm-svn: 35286
* Add test case for testing InstCombine with arbitrary precision integerReid Spencer2007-03-2330-0/+974
| | | | | | | | | types. These tests mimic the integer test cases in the normal InstCombine test suite but use "strange" integer bit widths. Most tests written by Zhou Sheng, a few by me. llvm-svn: 35284
* For PR1205:Reid Spencer2007-03-231-25/+22
| | | | | | | | APIntify visitDiv, visitMul and visitRem. Patch by Zhou Sheng. llvm-svn: 35283
* switch AddReachableCodeToWorklist from being recursive to being iterative.Chris Lattner2007-03-231-46/+54
| | | | llvm-svn: 35282
* For PR1205:Reid Spencer2007-03-231-37/+39
| | | | | | | | | APIntify several utility functions supporting logical operators and shift operators. Patch by Zhou Sheng. llvm-svn: 35281
* Add the 'explicit' keyword to several constructors that accept oneDan Gohman2007-03-2317-36/+41
| | | | | | argument that don't appear intended as implicit-conversion operators. llvm-svn: 35280
* Test handling of switches with wide case ranges.Duncan Sands2007-03-231-0/+12
| | | | llvm-svn: 35279
* Fix constant fold of div by zero and rem by zero to match IEEE 754Reid Spencer2007-03-231-8/+18
| | | | | | | requirements. We must return NaN in some cases and correctly signed infinity in other cases. Passes CFP2006 (not that that says much). llvm-svn: 35277
* Make the "KnownZero ^ TypeMask" computation just once.Zhou Sheng2007-03-231-3/+4
| | | | llvm-svn: 35276
* Simplify the code.Zhou Sheng2007-03-231-1/+1
| | | | llvm-svn: 35275
* A couple of bug fixes for reducing load width xform:Evan Cheng2007-03-231-7/+16
| | | | | | | 1. Address offset is in bytes. 2. Make sure truncate node uses are replaced with new load. llvm-svn: 35274
* For PR1205:Reid Spencer2007-03-221-21/+25
| | | | | | | | APInt support for logical operators in visitAnd, visitOr, and visitXor. Patch by Zhou Sheng. llvm-svn: 35273
* The -funcresolve and -raise options no longer exist.Duncan Sands2007-03-221-1/+1
| | | | llvm-svn: 35272
* For PR1205:Reid Spencer2007-03-221-16/+17
| | | | | | | | | | * APIntify commonIntCastTransforms * APIntify visitTrunc * APIntify visitZExt Patch by Zhou Sheng. llvm-svn: 35271
* 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
OpenPOWER on IntegriCloud