aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-11-20 02:51:26 +0000
committerDan Gohman <gohman@apple.com>2009-11-20 02:51:26 +0000
commitb4afb137efbc38462707bab9f5e8bc5c2d07cd2d (patch)
tree076df79ebc3d73f3d003a95c7100b1a9468fabb2 /include
parentde8b1dbf95811fa2fc38bd677453f75811eb1029 (diff)
downloadexternal_llvm-b4afb137efbc38462707bab9f5e8bc5c2d07cd2d.zip
external_llvm-b4afb137efbc38462707bab9f5e8bc5c2d07cd2d.tar.gz
external_llvm-b4afb137efbc38462707bab9f5e8bc5c2d07cd2d.tar.bz2
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/SelectionDAGISel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGISel.h b/include/llvm/CodeGen/SelectionDAGISel.h
index 5d33224..adf89b0 100644
--- a/include/llvm/CodeGen/SelectionDAGISel.h
+++ b/include/llvm/CodeGen/SelectionDAGISel.h
@@ -127,7 +127,8 @@ private:
void SelectBasicBlock(BasicBlock *LLVMBB,
BasicBlock::iterator Begin,
- BasicBlock::iterator End);
+ BasicBlock::iterator End,
+ bool &HadTailCall);
void CodeGenAndEmitDAG();
void LowerArguments(BasicBlock *BB);