1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/test/Integer/a15.ll.out
Dan Gohman 9f80d2be6b 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

21 lines
1.3 KiB
Plaintext

; ModuleID = '<stdin>'
@b = constant i15 0 ; <i15*> [#uses=0]
@c = constant i15 -2 ; <i15*> [#uses=0]
@d = constant i15 0 ; <i15*> [#uses=0]
@e = constant i15 -1 ; <i15*> [#uses=0]
@f = constant i15 1 ; <i15*> [#uses=0]
@g = constant i15 3 ; <i15*> [#uses=0]
@h = constant i15 undef ; <i15*> [#uses=0]
@i = constant i15 -16384 ; <i15*> [#uses=0]
@j = constant i15 1 ; <i15*> [#uses=0]
@l = constant i15 -1 ; <i15*> [#uses=0]
@n = constant i15 -2 ; <i15*> [#uses=0]
@q = constant i15 16381 ; <i15*> [#uses=0]
@r = constant i15 0 ; <i15*> [#uses=0]
@s = constant i15 2 ; <i15*> [#uses=0]
@t = constant i15 1 ; <i15*> [#uses=0]
@u = constant i15 0 ; <i15*> [#uses=0]
@o = constant i15 0 ; <i15*> [#uses=0]
@p = constant i15 -1 ; <i15*> [#uses=0]
@v = constant i15 -1 ; <i15*> [#uses=0]