Dan Gohman
69273e6474
Now that numbered types have their number printed, it's no longer
...
interesting to print the number in a comment. Numbered instructions
don't need their number in a comment either.
Also, tidy up newline printing.
llvm-svn: 78865
2009-08-12 23:54:22 +00:00
Dan Gohman
e274526d78
Make LLVM Assembly dramatically easier to read by aligning the comments,
...
using formatted_raw_ostream's PadToColumn.
Before:
bb1: ; preds = %bb
%2 = sext i32 %i.01 to i64 ; <i64> [#uses=1]
%3 = getelementptr double* %p, i64 %2 ; <double*> [#uses=1]
%4 = load double* %3, align 8 ; <double> [#uses=1]
%5 = fmul double %4, 1.100000e+00 ; <double> [#uses=1]
%6 = sext i32 %i.01 to i64 ; <i64> [#uses=1]
%7 = getelementptr double* %p, i64 %6 ; <double*> [#uses=1]
After:
bb1: ; preds = %bb
%2 = sext i32 %i.01 to i64 ; <i64> [#uses=1]
%3 = getelementptr double* %p, i64 %2 ; <double*> [#uses=1]
%4 = load double* %3, align 8 ; <double> [#uses=1]
%5 = fmul double %4, 1.100000e+00 ; <double> [#uses=1]
%6 = sext i32 %i.01 to i64 ; <i64> [#uses=1]
%7 = getelementptr double* %p, i64 %6 ; <double*> [#uses=1]
Several tests required whitespace adjustments.
llvm-svn: 78816
2009-08-12 17:23:50 +00:00
Reid Spencer
de7e7122cd
implementation keyword is going .. going .. gone.
...
llvm-svn: 35404
2007-03-28 01:52:40 +00:00
Reid Spencer
c10869bb57
Flip the srem tests around. Previous commit was to correct an apparent
...
bug in the srem implementation. Turns out it was a documentation bug
instead.
llvm-svn: 35304
2007-03-24 22:34:10 +00:00
Reid Spencer
71a6ef7f0e
Fix incorrect test cases for srem. The definition of srem is a remainder so
...
that the sign of the result follows the sign of the divisor.
llvm-svn: 35301
2007-03-24 21:55:26 +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
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
Zhou Sheng
a335d27e2b
Cover more arithmetics for arbitrary bitwidth integers.
...
llvm-svn: 33355
2007-01-19 14:26:57 +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