Commit Graph

18 Commits

Author SHA1 Message Date
Reid Spencer 7953b683fc For PR1258:
Revise numeric value references to accommodate collapsed type planes.

llvm-svn: 35170
2007-03-19 18:27:35 +00:00
Reid Spencer e4f65e1983 Update for constant folding now generating undef and overflow correctly.
llvm-svn: 34676
2007-02-27 19:26:40 +00:00
Reid Spencer 9193cc348e Shifting by the bit width now produces undef, not 0.
llvm-svn: 34675
2007-02-27 19:22:36 +00:00
Reid Spencer 5c41e96631 Remove test cases that produce undefined results.
llvm-svn: 34650
2007-02-27 02:34:02 +00:00
Reid Spencer 8100dcfa5e For PR411:
This test is not particularly useful without type planes.

llvm-svn: 33919
2007-02-05 20:59:45 +00:00
Reid Spencer 3aaaa0b2bd For PR411:
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
2007-02-05 20:47:22 +00:00
Reid Spencer cb4d3f2902 Prepare for PR411
llvm-svn: 33865
2007-02-04 02:11:13 +00:00
Reid Spencer 2341c22ec7 Changes to support making the shift instructions be true BinaryOperators.
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
2007-02-02 02:16:23 +00:00
Reid Spencer af6a408117 For PR411:
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
2007-01-30 16:16:01 +00:00
Reid Spencer ce380568b5 For PR761:
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
2007-01-26 08:25:06 +00:00
Reid Spencer 19531ac014 Try a negative number with ashr.
llvm-svn: 33404
2007-01-20 20:30:13 +00:00
Reid Spencer 50a8df7342 Add a test case for sext bug that Leo found.
llvm-svn: 33393
2007-01-20 08:31:45 +00:00
Zhou Sheng ee187be5ca Cover non-byte-width BATs situation.
llvm-svn: 33356
2007-01-19 14:30:59 +00:00
Zhou Sheng a335d27e2b Cover more arithmetics for arbitrary bitwidth integers.
llvm-svn: 33355
2007-01-19 14:26:57 +00:00
Zhou Sheng fb51713cef Add one test case for Arbitrary BitWidth Integers.
llvm-svn: 33348
2007-01-19 01:35:08 +00:00
Reid Spencer 4eac5b315d Fix test cases. Patch by Guoling Han.
llvm-svn: 33272
2007-01-16 22:31:46 +00:00
Reid Spencer a3facd734a Remove this test case. LLVM doesn't currently support comparison of packed.
llvm-svn: 33271
2007-01-16 21:58:58 +00:00
Reid Spencer 50006ba566 New test cases for bit accurate integers developed by Guoling Han.
llvm-svn: 33259
2007-01-16 18:08:22 +00:00