Mercurial > hg > Members > tobaru > cbc > CbC_llvm
view test/CodeGen/Mips/uitofp.ll @ 33:e4204d083e25
LLVM 3.5
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 14:32:10 +0900 |
parents | 95c75e76d11b |
children | afa8332a0e37 |
line wrap: on
line source
; RUN: llc -march=mips -mattr=+single-float < %s define void @f0() nounwind { entry: %b = alloca i32, align 4 %a = alloca float, align 4 store volatile i32 1, i32* %b, align 4 %0 = load volatile i32* %b, align 4 %conv = uitofp i32 %0 to float store float %conv, float* %a, align 4 ret void }