mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 04:29:21 +00:00
13 lines
469 B
LLVM
13 lines
469 B
LLVM
|
; 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
|
||
|
}
|
||
|
|