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 | 683e922d299bdfa9ec609bd58a0eed20568303f1 (patch) | |
tree | df0b957ed51dc0206a04ac9731797c53e71d7324 /test/Integer/a7.ll.out | |
parent | 9f7d60f460151bf5ba9f90372618cd769216b314 (diff) | |
download | external_llvm-683e922d299bdfa9ec609bd58a0eed20568303f1.zip external_llvm-683e922d299bdfa9ec609bd58a0eed20568303f1.tar.gz external_llvm-683e922d299bdfa9ec609bd58a0eed20568303f1.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/a7.ll.out')
-rw-r--r-- | test/Integer/a7.ll.out | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/test/Integer/a7.ll.out b/test/Integer/a7.ll.out index a6ed288..78a114c 100644 --- a/test/Integer/a7.ll.out +++ b/test/Integer/a7.ll.out @@ -1,24 +1,24 @@ ; ModuleID = '<stdin>' -@b = constant i7 0 ; <i7*> [#uses=0] -@q = constant i7 63 ; <i7*> [#uses=0] -@c = constant i7 -2 ; <i7*> [#uses=0] -@d = constant i7 0 ; <i7*> [#uses=0] -@e = constant i7 -1 ; <i7*> [#uses=0] -@f = constant i7 1 ; <i7*> [#uses=0] -@g = constant i7 3 ; <i7*> [#uses=0] -@r = constant i7 5 ; <i7*> [#uses=0] -@s = constant i7 5 ; <i7*> [#uses=0] -@h = constant i7 undef ; <i7*> [#uses=0] -@i = constant i7 -64 ; <i7*> [#uses=0] -@j = constant i7 1 ; <i7*> [#uses=0] -@l = constant i7 -1 ; <i7*> [#uses=0] -@m2 = constant i7 -1 ; <i7*> [#uses=0] -@n = constant i7 -2 ; <i7*> [#uses=0] -@t = constant i7 -2 ; <i7*> [#uses=0] -@u = constant i7 -64 ; <i7*> [#uses=0] -@v = constant i7 0 ; <i7*> [#uses=0] -@w = constant i7 2 ; <i7*> [#uses=0] -@x = constant i7 1 ; <i7*> [#uses=0] -@y = constant i7 0 ; <i7*> [#uses=0] -@o = constant i7 0 ; <i7*> [#uses=0] -@p = constant i7 -1 ; <i7*> [#uses=0] +@b = constant i7 0 ; <i7*> [#uses=0] +@q = constant i7 63 ; <i7*> [#uses=0] +@c = constant i7 -2 ; <i7*> [#uses=0] +@d = constant i7 0 ; <i7*> [#uses=0] +@e = constant i7 -1 ; <i7*> [#uses=0] +@f = constant i7 1 ; <i7*> [#uses=0] +@g = constant i7 3 ; <i7*> [#uses=0] +@r = constant i7 5 ; <i7*> [#uses=0] +@s = constant i7 5 ; <i7*> [#uses=0] +@h = constant i7 undef ; <i7*> [#uses=0] +@i = constant i7 -64 ; <i7*> [#uses=0] +@j = constant i7 1 ; <i7*> [#uses=0] +@l = constant i7 -1 ; <i7*> [#uses=0] +@m2 = constant i7 -1 ; <i7*> [#uses=0] +@n = constant i7 -2 ; <i7*> [#uses=0] +@t = constant i7 -2 ; <i7*> [#uses=0] +@u = constant i7 -64 ; <i7*> [#uses=0] +@v = constant i7 0 ; <i7*> [#uses=0] +@w = constant i7 2 ; <i7*> [#uses=0] +@x = constant i7 1 ; <i7*> [#uses=0] +@y = constant i7 0 ; <i7*> [#uses=0] +@o = constant i7 0 ; <i7*> [#uses=0] +@p = constant i7 -1 ; <i7*> [#uses=0] |