diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-06-04 02:02:01 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-06-04 02:02:01 +0000 |
commit | 9a417121225506cdde5a9b3c73122b2158830bf0 (patch) | |
tree | cf42526fb221c387d5c877f87a28c07a5b7835e6 /test | |
parent | e5eb6d2fdb9c8cb1d0ddc89759bb6c6d43dd75ec (diff) | |
download | external_llvm-9a417121225506cdde5a9b3c73122b2158830bf0.zip external_llvm-9a417121225506cdde5a9b3c73122b2158830bf0.tar.gz external_llvm-9a417121225506cdde5a9b3c73122b2158830bf0.tar.bz2 |
PR3739, part 1: Disable the red zone on Win64.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72830 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-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..c628b8a --- /dev/null +++ b/test/CodeGen/X86/2009-06-03-Win64DisableRedZone.ll @@ -0,0 +1,9 @@ +; RUN: llvm-as < %s | llc | grep "subq.*\\\$8, \\\%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 +} + |