aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/pr9743.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/pr9743.ll')
-rw-r--r--test/CodeGen/X86/pr9743.ll17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/CodeGen/X86/pr9743.ll b/test/CodeGen/X86/pr9743.ll
new file mode 100644
index 000000000000..8feccd9ef1c2
--- /dev/null
+++ b/test/CodeGen/X86/pr9743.ll
@@ -0,0 +1,17 @@
+; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -disable-fp-elim -asm-verbose=0 | FileCheck %s
+
+define void @f() {
+ ret void
+}
+
+; CHECK: .cfi_startproc
+; CHECK-NEXT: pushq
+; CHECK-NEXT: :
+; CHECK-NEXT: .cfi_def_cfa_offset 16
+; CHECK-NEXT: :
+; CHECK-NEXT: .cfi_offset 6, -16
+; CHECK-NEXT: movq %rsp, %rbp
+; CHECK-NEXT: :
+; CHECK-NEXT: .cfi_def_cfa_register 6
+; CHECK-NEXT: popq %rbp
+; CHECK-NEXT: ret