summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/segmented-stacks.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-10-13 07:42:32 +0000
committerBill Wendling <isanbard@gmail.com>2011-10-13 07:42:32 +0000
commit82222c20be24adda7c218f3fdaf2e0ae049c955b (patch)
tree21053ccf90f050fea78f5a089a68a40abe040b98 /test/CodeGen/X86/segmented-stacks.ll
parent326e491ce7f7ad61014339c36a8cd90b33af98b9 (diff)
downloadllvm-82222c20be24adda7c218f3fdaf2e0ae049c955b.tar.gz
llvm-82222c20be24adda7c218f3fdaf2e0ae049c955b.tar.bz2
llvm-82222c20be24adda7c218f3fdaf2e0ae049c955b.tar.xz
Should not add instructions to a BB after a return instruction. The machine instruction verifier doesn't like this, nor do I.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141856 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/segmented-stacks.ll')
-rw-r--r--test/CodeGen/X86/segmented-stacks.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/segmented-stacks.ll b/test/CodeGen/X86/segmented-stacks.ll
index 3f0067e292..37f082c730 100644
--- a/test/CodeGen/X86/segmented-stacks.ll
+++ b/test/CodeGen/X86/segmented-stacks.ll
@@ -81,7 +81,7 @@ define i32 @test_nested(i32 * nest %closure, i32 %other) {
; X64-NEXT: movabsq $0, %r10
; X64-NEXT: movabsq $0, %r11
; X64-NEXT: callq __morestack
-; X64-NEXT: ret
; X64-NEXT: movq %rax, %r10
+; X64-NEXT: ret
}