Changes in directory llvm/test/CodeGen/X86:
fp-stack-ret.ll added (r1.1) --- Log message: new testcase --- Diffs of the changes: (+12 -0) fp-stack-ret.ll | 12 ++++++++++++ 1 files changed, 12 insertions(+) Index: llvm/test/CodeGen/X86/fp-stack-ret.ll diff -c /dev/null llvm/test/CodeGen/X86/fp-stack-ret.ll:1.1 *** /dev/null Sun Feb 25 02:23:11 2007 --- llvm/test/CodeGen/X86/fp-stack-ret.ll Sun Feb 25 02:23:01 2007 *************** *** 0 **** --- 1,12 ---- + ; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin8 -march=x86 | grep fldl && + ; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin8 -march=x86 | not grep xmm && + ; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin8 -march=x86 | not grep 'sub.*esp' + + ; These testcases shouldn't require loading into an XMM register then storing + ; to memory, then reloading into an FPStack reg. + + define double @test1(double *%P) { + %A = load double* %P + ret double %A + } + _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits