diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-03-03 15:00:00 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-03-03 15:00:00 -0800 |
commit | 3bd0991eb432b0c7ada786a008abf9bf545405a0 (patch) | |
tree | 7631b47b0480e6a976d0d56d1ed11f0f82e24108 | |
parent | d5fa14af94faca55237d651d1b63caaf23f0f209 (diff) |
fix test_cases/inttoptrfloat.ll
-rw-r--r-- | tests/cases/inttoptrfloat.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/cases/inttoptrfloat.ll b/tests/cases/inttoptrfloat.ll index 607539fe..c3349fc4 100644 --- a/tests/cases/inttoptrfloat.ll +++ b/tests/cases/inttoptrfloat.ll @@ -7,11 +7,12 @@ target triple = "i386-pc-linux-gnu" ; [#uses=0] define i32 @main() { entry: - %call = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([15 x i8]* @.str, i32 0, i32 0), float %b) ; [#uses=0 type=i32] + %call = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([15 x i8]* @.str, i32 0, i32 0)) ; [#uses=0 type=i32] %ff = alloca float, align 4 %a = load float* inttoptr (i32 4 to float*), align 4 store float %a, float* %ff, align 4 %b = load float* %ff, align 4 + %call2 = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([15 x i8]* @.str, i32 0, i32 0), float %b) ; [#uses=0 type=i32] ret i32 1 } |