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
commit40b0a2e6bb0787bc7c36a8fc79910a33e1a58965 (patch)
tree076df79ebc3d73f3d003a95c7100b1a9468fabb2 /include
parent871fc2c9d35287f0feaeb077f4ce892da9436d06 (diff)
downloadexternal_llvm-40b0a2e6bb0787bc7c36a8fc79910a33e1a58965.zip
external_llvm-40b0a2e6bb0787bc7c36a8fc79910a33e1a58965.tar.gz
external_llvm-40b0a2e6bb0787bc7c36a8fc79910a33e1a58965.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);