summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit22a690e3db7fcd4e70eddb6d0730398dadabdbd8 (patch)
tree7f11e3924c6387840146d40f61f4f8288e0726a7 /llvm/test/CodeGen/X86/segmented-stacks.ll
parent86f7d3556c8dc65ff33dfb1b3016e4db30e1d362 (diff)
downloadbcm5719-llvm-22a690e3db7fcd4e70eddb6d0730398dadabdbd8.tar.gz
bcm5719-llvm-22a690e3db7fcd4e70eddb6d0730398dadabdbd8.zip
Should not add instructions to a BB after a return instruction. The machine instruction verifier doesn't like this, nor do I.
llvm-svn: 141856
Diffstat (limited to 'llvm/test/CodeGen/X86/segmented-stacks.ll')
-rw-r--r--llvm/test/CodeGen/X86/segmented-stacks.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/segmented-stacks.ll b/llvm/test/CodeGen/X86/segmented-stacks.ll
index 3f0067e2926..37f082c730a 100644
--- a/llvm/test/CodeGen/X86/segmented-stacks.ll
+++ b/llvm/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
}
OpenPOWER on IntegriCloud