diff options
author | Dan Gohman <gohman@apple.com> | 2009-08-12 17:23:50 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-08-12 17:23:50 +0000 |
commit | 2b4065e6199d98af44a43271956200df0ae61782 (patch) | |
tree | df0b957ed51dc0206a04ac9731797c53e71d7324 /test/Integer/a17.ll.out | |
parent | 66b3400110159b259b0ae25bbd13fc660ce1f61b (diff) | |
download | external_llvm-2b4065e6199d98af44a43271956200df0ae61782.zip external_llvm-2b4065e6199d98af44a43271956200df0ae61782.tar.gz external_llvm-2b4065e6199d98af44a43271956200df0ae61782.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78816 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Integer/a17.ll.out')
-rw-r--r-- | test/Integer/a17.ll.out | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/test/Integer/a17.ll.out b/test/Integer/a17.ll.out index d24f62b..6ded845 100644 --- a/test/Integer/a17.ll.out +++ b/test/Integer/a17.ll.out @@ -1,19 +1,19 @@ ; ModuleID = '<stdin>' -@b = constant i17 0 ; <i17*> [#uses=0] -@c = constant i17 -2 ; <i17*> [#uses=0] -@d = constant i17 0 ; <i17*> [#uses=0] -@e = constant i17 -1 ; <i17*> [#uses=0] -@f = constant i17 1 ; <i17*> [#uses=0] -@g = constant i17 3 ; <i17*> [#uses=0] -@h = constant i17 undef ; <i17*> [#uses=0] -@i = constant i17 -65536 ; <i17*> [#uses=0] -@j = constant i17 1 ; <i17*> [#uses=0] -@l = constant i17 -1 ; <i17*> [#uses=0] -@n = constant i17 -2 ; <i17*> [#uses=0] -@q = constant i17 0 ; <i17*> [#uses=0] -@r = constant i17 2 ; <i17*> [#uses=0] -@s = constant i17 1 ; <i17*> [#uses=0] -@t = constant i17 0 ; <i17*> [#uses=0] -@o = constant i17 0 ; <i17*> [#uses=0] -@p = constant i17 -1 ; <i17*> [#uses=0] -@v = constant i17 -1 ; <i17*> [#uses=0] +@b = constant i17 0 ; <i17*> [#uses=0] +@c = constant i17 -2 ; <i17*> [#uses=0] +@d = constant i17 0 ; <i17*> [#uses=0] +@e = constant i17 -1 ; <i17*> [#uses=0] +@f = constant i17 1 ; <i17*> [#uses=0] +@g = constant i17 3 ; <i17*> [#uses=0] +@h = constant i17 undef ; <i17*> [#uses=0] +@i = constant i17 -65536 ; <i17*> [#uses=0] +@j = constant i17 1 ; <i17*> [#uses=0] +@l = constant i17 -1 ; <i17*> [#uses=0] +@n = constant i17 -2 ; <i17*> [#uses=0] +@q = constant i17 0 ; <i17*> [#uses=0] +@r = constant i17 2 ; <i17*> [#uses=0] +@s = constant i17 1 ; <i17*> [#uses=0] +@t = constant i17 0 ; <i17*> [#uses=0] +@o = constant i17 0 ; <i17*> [#uses=0] +@p = constant i17 -1 ; <i17*> [#uses=0] +@v = constant i17 -1 ; <i17*> [#uses=0] |