diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2006-10-17 18:29:14 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2006-10-17 18:29:14 +0000 |
commit | 3f3a6f6c3b6b178602a1246e62ed1e6c5d9631de (patch) | |
tree | 78ad22bb66faa2e9782d2a1c66851015f0defb8f /test/CodeGen | |
parent | ffddf6ba1c58b42dcfd071972754649c3ca5dff7 (diff) | |
download | external_llvm-3f3a6f6c3b6b178602a1246e62ed1e6c5d9631de.zip external_llvm-3f3a6f6c3b6b178602a1246e62ed1e6c5d9631de.tar.gz external_llvm-3f3a6f6c3b6b178602a1246e62ed1e6c5d9631de.tar.bz2 |
remove extra [] in stores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31008 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r-- | test/CodeGen/ARM/fpmem.ll | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/test/CodeGen/ARM/fpmem.ll b/test/CodeGen/ARM/fpmem.ll index e1ea410..b617a69 100644 --- a/test/CodeGen/ARM/fpmem.ll +++ b/test/CodeGen/ARM/fpmem.ll @@ -1,14 +1,21 @@ ; RUN: llvm-as < %s | llc -march=arm && ; RUN: llvm-as < %s | llc -march=arm | grep flds | wc -l | grep 2 && -; RUN: llvm-as < %s | llc -march=arm | grep "flds.*\[" | wc -l | grep 1 +; RUN: llvm-as < %s | llc -march=arm | grep "flds.*\[" | wc -l | grep 1 && +; RUN: llvm-as < %s | llc -march=arm | grep "fsts.*\[" | wc -l | grep 1 -float %g(float %a) { +float %f1(float %a) { entry: ret float 0.000000e+00 } -float %g(float* %v) { +float %f2(float* %v) { entry: %tmp = load float* %v ret float %tmp } + +void %f3(float %a, float* %v) { +entry: + store float %a, float* %v + ret void +} |