Result

WA

Duration

550ms

Code [DL]

define i32 @main() {
  %1 = alloca i8, align 1
  call i32 @getchar(i8* %1)
  call i32 @putchar(i8 %1)
  ret i32 0
}

declare i32 @putchar(i8)
declare i32 @getchar(i8*)

stdin

86 83 95
38 39 41
09 20 40
69 96 88

stdout

stderr

/usr/bin/llc: /tmp/code.ll:4:24: error: '%1' defined with type 'i8*'
  call i32 @putchar(i8 %1)
                       ^
gcc: error: /tmp/code.o: No such file or directory
gcc: fatal error: no input files
compilation terminated.
/bin/script: line 17: /tmp/code: not found

strace