diff options
author | Eric Christopher <echristo@apple.com> | 2010-09-12 06:09:23 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-09-12 06:09:23 +0000 |
commit | 298c45e845e1743f86b060cd280e8729cd4ba468 (patch) | |
tree | e25c7507802c54b7a70fd6d1cb6f7e6702fae3c3 /test/CodeGen/ARM/fast-isel.ll | |
parent | d4b8333d625e9c4989f8966cb1b7f69bbef6993e (diff) | |
download | external_llvm-298c45e845e1743f86b060cd280e8729cd4ba468.zip external_llvm-298c45e845e1743f86b060cd280e8729cd4ba468.tar.gz external_llvm-298c45e845e1743f86b060cd280e8729cd4ba468.tar.bz2 |
Revert 113679, it was causing an infinite loop in a testcase that I've sent
on to Owen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113720 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/fast-isel.ll')
-rw-r--r-- | test/CodeGen/ARM/fast-isel.ll | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/fast-isel.ll b/test/CodeGen/ARM/fast-isel.ll index b3ced9c..d4ca55f 100644 --- a/test/CodeGen/ARM/fast-isel.ll +++ b/test/CodeGen/ARM/fast-isel.ll @@ -15,6 +15,22 @@ entry: ret i32 %add } +define float @fp_ops(float %a, float %b) nounwind { +entry: + %a.addr = alloca float, align 4 + %b.addr = alloca float, align 4 + store float %a, float* %a.addr + store float %b, float* %b.addr + %tmp = load float* %a.addr + %tmp1 = load float* %b.addr + %mul = fmul float %tmp, %tmp1 + %tmp2 = load float* %b.addr + %tmp3 = load float* %a.addr + %mul2 = fmul float %tmp2, %tmp3 + %add = fadd float %mul, %mul2 + ret float %mul +} + define i32* @foo(i32* %p, i32* %q, i32** %z) nounwind { entry: %r = load i32* %p |