Chris Lattner | f4acec1 | 2007-02-25 08:23:01 +0000 | [diff] [blame^] | 1 | ; 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 | |
| 8 | define double @test1(double *%P) { |
| 9 | %A = load double* %P |
| 10 | ret double %A |
| 11 | } |
| 12 | |