Mercurial > hg > CbC > CbC_llvm
comparison test/CodeGen/Thumb/fpconv.ll @ 77:54457678186b LLVM3.6
LLVM 3.6
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 08 Sep 2014 22:06:00 +0900 |
parents | 95c75e76d11b |
children |
comparison
equal
deleted
inserted
replaced
34:e874dbf0ad9d | 77:54457678186b |
---|---|
1 ; RUN: llc < %s -march=thumb | 1 ; RUN: llc -mtriple=thumb-eabi %s -o /dev/null |
2 | 2 |
3 define float @f1(double %x) { | 3 define float @f1(double %x) { |
4 entry: | 4 entry: |
5 %tmp1 = fptrunc double %x to float ; <float> [#uses=1] | 5 %tmp1 = fptrunc double %x to float ; <float> [#uses=1] |
6 ret float %tmp1 | 6 ret float %tmp1 |