22 строки
763 B
LLVM
22 строки
763 B
LLVM
target datalayout = "e-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-p:32:32:32-v128:32:128-n32-S128"
|
|
target triple = "asmjs-unknown-emscripten"
|
|
|
|
@.str = private constant [15 x i8] c"hello, world!\0A\00", align 1 ; [#uses=1]
|
|
|
|
define linkonce_odr i32 @main() align 2 {
|
|
%1 = trunc i8 1 to i1 ; [#uses=1]
|
|
br i1 %1, label %label555, label %label569
|
|
|
|
label555: ; preds = %353
|
|
br label %label569
|
|
; No predecessors!
|
|
br label %label569
|
|
|
|
label569: ; preds = %555
|
|
%3 = call i32 @printf(i8* getelementptr inbounds ([15 x i8]* @.str, i32 0, i32 0)) ; [#uses=0]
|
|
ret i32 0
|
|
}
|
|
|
|
declare i32 @printf(i8*)
|
|
|