You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
227 B

12 months ago
@a = common global i32 0, align 4
define i32 @main() #0 {
store i32 10, i32* @a, align 4
%1 = load i32, i32* @a, align 4
%2 = icmp sgt i32 %1, 0
br i1 %2, label %3, label %4
3:
ret i32 %1
4:
ret i32 0
}