summaryrefslogtreecommitdiffstats
path: root/llvm/test/Integer
Commit message (Collapse)AuthorAgeFilesLines
* Fix some escaping and quoting in RUN lines, mainly involving { and <. In twoMatthijs Kooijman2008-06-101-1/+1
| | | | | | | | | cases quoting of <{ didn't work out, so I changed the grep to check for }> instead. This fixes 7 testcases that were not properly running before. llvm-svn: 52182
* sabre brings to my attention that the 'tr' suffix is also obsoleteGabor Greif2008-05-201-1/+1
| | | | llvm-svn: 51349
* Rename the last test with .llx extension to .ll, resolve duplicate test by ↵Gabor Greif2008-05-201-1/+1
| | | | | | renaming to isnan2. Now that no test has llx ending there is no need to search for them from dg.exp too. llvm-svn: 51328
* refactor handling of symbolic constant folding, picking upChris Lattner2008-04-191-4/+4
| | | | | | | a few new cases( see Integer/a1.ll), but not anything that would happen in practice. llvm-svn: 49965
* Fix PR1146: parameter attributes are longer part ofDuncan Sands2007-11-271-1/+1
| | | | | | | | | | | | the function type, instead they belong to functions and function calls. This is an updated and slightly corrected version of Reid Spencer's original patch. The only known problem is that auto-upgrading of bitcode files doesn't seem to work properly (see test/Bitcode/AutoUpgradeIntrinsics.ll). Hopefully a bitcode guru (who might that be? :) ) will fix it. llvm-svn: 44359
* Change all floating constants that are not exactlyDale Johannesen2007-09-052-6/+6
| | | | | | representable to use hex format. llvm-svn: 41722
* For PR1553:Reid Spencer2007-07-191-6/+6
| | | | | | | | Change the keywords for the zext and sext parameter attributes to be zeroext and signext so they don't conflict with the keywords for the instructions of the same name. This gets around the ambiguity. llvm-svn: 40069
* Convert .cvsignore filesJohn Criswell2007-06-291-1/+0
| | | | llvm-svn: 37801
* Changes to fix problems with "make check". Apparently you can redefineReid Spencer2007-04-141-1/+1
| | | | | | | functions and Tcl's just tickled with that. The fix is to give the "new" test system a different interface function name. llvm-svn: 36022
* Fix syntax.Reid Spencer2007-04-141-1/+1
| | | | llvm-svn: 36021
* Don't try to interpret a fictitious file.Reid Spencer2007-04-141-1/+1
| | | | llvm-svn: 36000
* No need to quote things, shell isn't interpreting any more.Reid Spencer2007-04-141-1/+1
| | | | llvm-svn: 35997
* For PR1319:Reid Spencer2007-04-143-5/+6
| | | | | | Changes necessary to run this with the "llvm.exp" version of llvm_runtest. llvm-svn: 35995
* FIx this test, thanks to llvm.expReid Spencer2007-04-141-10/+10
| | | | llvm-svn: 35992
* Make the llvm-runtest function much more amenable by eliminating all theReid Spencer2007-04-111-1/+1
| | | | | | | | global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. llvm-svn: 35918
* Remove use of implementation keyword.Reid Spencer2007-03-2836-36/+0
| | | | llvm-svn: 35412
* implementation keyword is going .. going .. gone.Reid Spencer2007-03-288-16/+0
| | | | llvm-svn: 35404
* Flip the srem tests around. Previous commit was to correct an apparentReid Spencer2007-03-247-11/+11
| | | | | | | bug in the srem implementation. Turns out it was a documentation bug instead. llvm-svn: 35304
* Fix incorrect test cases for srem. The definition of srem is a remainder soReid Spencer2007-03-2413-9/+19
| | | | | | that the sign of the result follows the sign of the divisor. llvm-svn: 35301
* For PR1258:Reid Spencer2007-03-195-29/+27
| | | | | | Revise numeric value references to accommodate collapsed type planes. llvm-svn: 35170
* Update for constant folding now generating undef and overflow correctly.Reid Spencer2007-02-272-8/+8
| | | | llvm-svn: 34676
* Shifting by the bit width now produces undef, not 0.Reid Spencer2007-02-277-7/+7
| | | | llvm-svn: 34675
* Remove test cases that produce undefined results.Reid Spencer2007-02-2716-33/+5
| | | | llvm-svn: 34650
* For PR411:Reid Spencer2007-02-051-33/+0
| | | | | | This test is not particularly useful without type planes. llvm-svn: 33919
* For PR411:Reid Spencer2007-02-051-5/+4
| | | | | | | | | | This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be unique. The patch addresses the necessary changes to deal with this and removes code no longer needed as a result. This completes the bulk of the changes for this PR. Some cleanup patches will follow. llvm-svn: 33918
* Prepare for PR411Reid Spencer2007-02-041-1/+1
| | | | llvm-svn: 33865
* Changes to support making the shift instructions be true BinaryOperators.Reid Spencer2007-02-0211-57/+58
| | | | | | | | | | | | This feature is needed in order to support shifts of more than 255 bits on large integer types. This changes the syntax for llvm assembly to make shl, ashr and lshr instructions look like a binary operator: shl i32 %X, 1 instead of shl i32 %X, i8 1 Additionally, this should help a few passes perform additional optimizations. llvm-svn: 33776
* For PR411:Reid Spencer2007-01-304-8/+8
| | | | | | | | Update these tests to not use the same name even though the type of the value differs. After PR411 hits, type planes will be gone and it will be illegal for a name to be used twice, regardless of type. llvm-svn: 33660
* For PR761:Reid Spencer2007-01-2658-550/+537
| | | | | | | | | | | | | | Remove "target endian/pointersize" or add "target datalayout" to make the test parse properly or set the datalayout because defaults changes. For PR645: Make global names use the @ prefix. For llvm-upgrade changes: Fix test cases or completely remove use of llvm-upgrade for test cases that cannot survive the new renaming or upgrade capabilities. llvm-svn: 33533
* Try a negative number with ashr.Reid Spencer2007-01-202-0/+2
| | | | llvm-svn: 33404
* Add a test case for sext bug that Leo found.Reid Spencer2007-01-201-0/+29
| | | | llvm-svn: 33393
* Cover non-byte-width BATs situation.Zhou Sheng2007-01-192-6/+21
| | | | llvm-svn: 33356
* Cover more arithmetics for arbitrary bitwidth integers.Zhou Sheng2007-01-1917-0/+81
| | | | llvm-svn: 33355
* Add one test case for Arbitrary BitWidth Integers.Zhou Sheng2007-01-192-0/+36
| | | | llvm-svn: 33348
* Fix test cases. Patch by Guoling Han.Reid Spencer2007-01-166-30/+31
| | | | llvm-svn: 33272
* Remove this test case. LLVM doesn't currently support comparison of packed.Reid Spencer2007-01-161-58/+0
| | | | llvm-svn: 33271
* New test cases for bit accurate integers developed by Guoling Han.Reid Spencer2007-01-1660-0/+1669
llvm-svn: 33259
OpenPOWER on IntegriCloud