summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-06-04 02:02:01 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-06-04 02:02:01 +0000
commit0cb0c78a26935546204d733abdd4ed02d5ee340c (patch)
tree1e9291f523feb20f13689c37f0062fa224b3d3c1 /llvm/test
parentaba72ed47f6f88869d360638c81ffa04d66cc505 (diff)
downloadbcm5719-llvm-0cb0c78a26935546204d733abdd4ed02d5ee340c.tar.gz
bcm5719-llvm-0cb0c78a26935546204d733abdd4ed02d5ee340c.zip
PR3739, part 1: Disable the red zone on Win64.
llvm-svn: 72830
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/X86/2009-06-03-Win64DisableRedZone.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/2009-06-03-Win64DisableRedZone.ll b/llvm/test/CodeGen/X86/2009-06-03-Win64DisableRedZone.ll
new file mode 100644
index 00000000000..c628b8affdd
--- /dev/null
+++ b/llvm/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
+}
+
OpenPOWER on IntegriCloud