| ; RUN: llc < %s -mtriple=i686-apple-darwin8 -mcpu=yonah -march=x86 | FileCheck %s
|
| ; 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) {
|
| ; fastcc should return a value
|
| define fastcc double @test2(<2 x double> %A) {
|
| %B = extractelement <2 x double> %A, i32 0
|
| define fastcc double @test3(<4 x float> %A) {
|
| %B = bitcast <4 x float> %A to <2 x double>
|
| %C = call fastcc double @test2(<2 x double> %B)
|
| ; Clear the stack when not using a return value.
|
| define void @test4(double *%P) {
|
| %A = call double @test1(double *%P)
|