blob: d688f94daa5e23d0dec65cb053b44b641b8fc6de [file] [log] [blame]
Chris Lattnerf4acec12007-02-25 08:23:01 +00001; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin8 -march=x86 | grep fldl &&
2; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin8 -march=x86 | not grep xmm &&
3; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin8 -march=x86 | not grep 'sub.*esp'
4
5; These testcases shouldn't require loading into an XMM register then storing
6; to memory, then reloading into an FPStack reg.
7
8define double @test1(double *%P) {
9 %A = load double* %P
10 ret double %A
11}
12