brintos

brintos / llvm-project-archived public Read only

0
0
Text · 498 B · e548624 Raw
18 lines · plain
1; RUN: llc < %s2; PR26253 4define i32 @main(ptr) {5entry:6        %state = alloca ptr               ; <ptr> [#uses=2]7        store ptr %0, ptr %state8        %retval = alloca i32            ; <ptr> [#uses=2]9        store i32 0, ptr %retval10        load ptr, ptr %state          ; <ptr>:1 [#uses=1]11        store { i32, { i32 } } zeroinitializer, ptr %112        br label %return13 14return:         ; preds = %entry15        load i32, ptr %retval               ; <i32>:2 [#uses=1]16        ret i32 %217}18