diff options
Diffstat (limited to 'test/CodeGen/X86/2009-06-03-Win64DisableRedZone.ll')
-rw-r--r-- | test/CodeGen/X86/2009-06-03-Win64DisableRedZone.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2009-06-03-Win64DisableRedZone.ll b/test/CodeGen/X86/2009-06-03-Win64DisableRedZone.ll new file mode 100644 index 0000000..e6f3008 --- /dev/null +++ b/test/CodeGen/X86/2009-06-03-Win64DisableRedZone.ll @@ -0,0 +1,9 @@ +; RUN: llc < %s | grep "subq.*\\\$40, \\\%rsp" +target triple = "x86_64-mingw64" + +define x86_fp80 @a(i64 %x) nounwind readnone { +entry: + %conv = sitofp i64 %x to x86_fp80 ; <x86_fp80> [#uses=1] + ret x86_fp80 %conv +} + |