diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-10-13 07:42:32 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-10-13 07:42:32 +0000 |
commit | 82222c20be24adda7c218f3fdaf2e0ae049c955b (patch) | |
tree | 21053ccf90f050fea78f5a089a68a40abe040b98 /test/CodeGen/X86/segmented-stacks.ll | |
parent | 326e491ce7f7ad61014339c36a8cd90b33af98b9 (diff) | |
download | llvm-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.ll | 2 |
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 } |