Fix fast-isel to avoid selecting the return instruction if a
authorDan Gohman <gohman@apple.com>
Fri, 20 Nov 2009 02:51:26 +0000 (02:51 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 20 Nov 2009 02:51:26 +0000 (02:51 +0000)
commitb4afb137efbc38462707bab9f5e8bc5c2d07cd2d
tree076df79ebc3d73f3d003a95c7100b1a9468fabb2
parentde8b1dbf95811fa2fc38bd677453f75811eb1029
Fix fast-isel to avoid selecting the return instruction if a
tail call has been encountered.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89444 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAGISel.h
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
test/CodeGen/X86/tailcall-fastisel.ll [new file with mode: 0644]