diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-05-07 21:50:07 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-05-07 21:50:07 +0000 |
commit | fd4dbf78aed3a15e2537bf5701ddb1b063d2ed74 (patch) | |
tree | 42c7b1579d2f1bf8ddc6e87b25bc2151caf71490 /test/CodeGen/ARM | |
parent | 070549eb9cb79900b78bb20550d13313aea05652 (diff) | |
download | llvm-fd4dbf78aed3a15e2537bf5701ddb1b063d2ed74.tar.gz llvm-fd4dbf78aed3a15e2537bf5701ddb1b063d2ed74.tar.bz2 llvm-fd4dbf78aed3a15e2537bf5701ddb1b063d2ed74.tar.xz |
Fix tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36913 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM')
-rw-r--r-- | test/CodeGen/ARM/fp.ll | 3 | ||||
-rw-r--r-- | test/CodeGen/ARM/fpmem.ll | 13 |
2 files changed, 7 insertions, 9 deletions
diff --git a/test/CodeGen/ARM/fp.ll b/test/CodeGen/ARM/fp.ll index 78b819e9e0..4de9a06521 100644 --- a/test/CodeGen/ARM/fp.ll +++ b/test/CodeGen/ARM/fp.ll @@ -1,12 +1,11 @@ ; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm -mattr=+vfp2 > %t ; RUN: grep fmsr %t | wc -l | grep 4 ; RUN: grep fsitos %t -; RUN: grep fmrs %t +; RUN: grep fmrs %t | wc -l | grep 2 ; RUN: grep fsitod %t ; RUN: grep fmrrd %t | wc -l | grep 5 ; RUN: grep fmdrr %t | wc -l | grep 2 ; RUN: grep fldd %t -; RUN: grep flds %t ; RUN: grep fuitod %t ; RUN: grep fuitos %t ; RUN: grep 1065353216 %t diff --git a/test/CodeGen/ARM/fpmem.ll b/test/CodeGen/ARM/fpmem.ll index 6e35138c01..3ed9f2dccb 100644 --- a/test/CodeGen/ARM/fpmem.ll +++ b/test/CodeGen/ARM/fpmem.ll @@ -6,18 +6,17 @@ ; RUN: grep {fsts.*\\\[} | wc -l | grep 1 float %f1(float %a) { -entry: ret float 0.000000e+00 } -float %f2(float* %v) { -entry: +float %f2(float* %v, float %u) { %tmp = load float* %v - ret float %tmp + %tmp1 = add float %tmp, %u + ret float %tmp1 } -void %f3(float %a, float* %v) { -entry: - store float %a, float* %v +void %f3(float %a, float %b, float* %v) { + %tmp = add float %a, %b + store float %tmp, float* %v ret void } |