summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/pr40289-64bit.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/pr40289-64bit.ll')
-rw-r--r--llvm/test/CodeGen/X86/pr40289-64bit.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/pr40289-64bit.ll b/llvm/test/CodeGen/X86/pr40289-64bit.ll
new file mode 100644
index 00000000000..fd7e2d55bdc
--- /dev/null
+++ b/llvm/test/CodeGen/X86/pr40289-64bit.ll
@@ -0,0 +1,10 @@
+; RUN: llc < %s -mtriple=x86_64-pc-windows-msvc | FileCheck %s
+
+define cc 92 < 9 x i64 > @clobber() {
+ %1 = alloca i64
+ %2 = load volatile i64, i64* %1
+ ret < 9 x i64 > undef
+ ; CHECK-LABEL: clobber:
+ ; CHECK-NOT: popq %rsp
+ ; CHECK: addq $8, %rsp
+}
OpenPOWER on IntegriCloud