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.
|
define i32 @main() {
|
|
bb_0:
|
|
%v3 = alloca i32
|
|
%v1 = alloca i32
|
|
%v0 = alloca i32
|
|
store i32 1, i32* %v1
|
|
store i32 2, i32* %v3
|
|
%v5 = load i32, i32* %v1
|
|
%v6 = load i32, i32* %v3
|
|
%v7 = add i32 %v5, %v6
|
|
store i32 %v7, i32* %v0
|
|
br label %bb_1
|
|
bb_1:
|
|
%v8 = load i32, i32* %v0
|
|
ret i32 %v8
|
|
}
|