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

20 lines
1.2 KiB
Plaintext

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