diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2006-10-03 17:27:58 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2006-10-03 17:27:58 +0000 |
| commit | cd71da5cf05cd023d2082e2a13a2524ee7d5af3f (patch) | |
| tree | 085a2a0948a1adbae40c8c4eea11031ee0f96752 /test/CodeGen/ARM | |
| parent | 13bf6c1350dc2ffc96aa48cc865a5b0d9ea1ffe4 (diff) | |
Implement floating point constants
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30704 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM')
| -rw-r--r-- | test/CodeGen/ARM/fp.ll | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/CodeGen/ARM/fp.ll b/test/CodeGen/ARM/fp.ll index af5a69642c..3cf45fcddb 100644 --- a/test/CodeGen/ARM/fp.ll +++ b/test/CodeGen/ARM/fp.ll @@ -3,7 +3,9 @@ ; RUN: llvm-as < %s | llc -march=arm | grep fsitos && ; RUN: llvm-as < %s | llc -march=arm | grep fmrs && ; RUN: llvm-as < %s | llc -march=arm | grep fsitod && -; RUN: llvm-as < %s | llc -march=arm | grep fmrrd +; RUN: llvm-as < %s | llc -march=arm | grep fmrrd && +; RUN: llvm-as < %s | llc -march=arm | grep flds && +; RUN: llvm-as < %s | llc -march=arm | grep ".word.*1065353216" float %f(int %a) { entry: @@ -16,3 +18,8 @@ entry: %tmp = cast int %a to double ; <double> [#uses=1] ret double %tmp } + +float %h() { +entry: + ret float 1.000000e+00 +} |
