by@n4o847
WA
495ms
define i32 @main() {
%1 = alloca i8, align 1
call i32 (i8) @getchar(i8* %1)
ret i32 0
}
declare i32 @putchar(i8)
declare i32 @getchar(i8*)88 26 77 10 24 61 49 90 71 43 05 10
/usr/bin/llc: /tmp/code.ll:3:26: error: argument is not of expected type 'i8'
call i32 (i8) @getchar(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