1
; RUN: llc < %s -mtriple=i686-apple-darwin8 -mcpu=yonah -march=x86 > %t
2
; RUN: grep fldl %t | count 1
4
; RUN: grep {sub.*esp} %t | count 1
6
; These testcases shouldn't require loading into an XMM register then storing
7
; to memory, then reloading into an FPStack reg.
9
define double @test1(double *%P) {
14
; fastcc should return a value
15
define fastcc double @test2(<2 x double> %A) {
16
%B = extractelement <2 x double> %A, i32 0
20
define fastcc double @test3(<4 x float> %A) {
21
%B = bitcast <4 x float> %A to <2 x double>
22
%C = call fastcc double @test2(<2 x double> %B)