llvm-project/llvm/test/CodeGen/X86/2009-06-03-Win64DisableRedZ...

10 lines
322 B
LLVM

; RUN: llc -mtriple=x86_64-mingw32 < %s | FileCheck %s
; RUN: llc -mtriple=x86_64-linux < %s | FileCheck %s
; CHECK-NOT: -{{[1-9][0-9]*}}(%rsp)
define x86_64_win64cc x86_fp80 @a(i64 %x) nounwind readnone {
entry:
%conv = sitofp i64 %x to x86_fp80 ; <x86_fp80> [#uses=1]
ret x86_fp80 %conv
}