comparison test/CodeGen/SPARC/float.ll @ 83:60c9769439b8 LLVM3.7

LLVM 3.7
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Wed, 18 Feb 2015 14:55:36 +0900
parents 95c75e76d11b
children afa8332a0e37
comparison
equal deleted inserted replaced
78:af83660cff7b 83:60c9769439b8
152 152
153 ; SPARC64-LABEL: test_itod_dtoi 153 ; SPARC64-LABEL: test_itod_dtoi
154 ; SPARC64: fitod 154 ; SPARC64: fitod
155 ; SPARC64: fdtoi 155 ; SPARC64: fdtoi
156 156
157 define void @test_itod_dtoi(i32 %a, i32* %ptr0, double* %ptr1) { 157 define void @test_itod_dtoi(i32 %a, double %b, i32* %ptr0, double* %ptr1) {
158 entry: 158 entry:
159 %0 = sitofp i32 %a to double 159 %0 = sitofp i32 %a to double
160 store double %0, double* %ptr1, align 8 160 store double %0, double* %ptr1, align 8
161 %1 = fptosi double %0 to i32 161 %1 = fptosi double %b to i32
162 store i32 %1, i32* %ptr0, align 8 162 store i32 %1, i32* %ptr0, align 8
163 ret void 163 ret void
164 } 164 }
165 165
166 ; V8-LABEL: test_uxtos_stoux 166 ; V8-LABEL: test_uxtos_stoux