commit | 82222c20be24adda7c218f3fdaf2e0ae049c955b | [log] [tgz] |
---|---|---|
author | Bill Wendling <isanbard@gmail.com> | Thu Oct 13 07:42:32 2011 +0000 |
committer | Bill Wendling <isanbard@gmail.com> | Thu Oct 13 07:42:32 2011 +0000 |
tree | 21053ccf90f050fea78f5a089a68a40abe040b98 | |
parent | 326e491ce7f7ad61014339c36a8cd90b33af98b9 [diff] [blame] |
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
diff --git a/test/CodeGen/X86/segmented-stacks.ll b/test/CodeGen/X86/segmented-stacks.ll index 3f0067e..37f082c 100644 --- a/test/CodeGen/X86/segmented-stacks.ll +++ b/test/CodeGen/X86/segmented-stacks.ll
@@ -81,7 +81,7 @@ ; 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 }