summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-03-19 21:47:14 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-03-19 21:47:14 +0000
commit7a90e04fc76392972bd8bd0ddee5c934c22c1393 (patch)
treeaa635f0cc7aeaf8721128213c1a83431846568cd /include
parentae16d6b9722dd6ff4a606308e3a14d200f3a903f (diff)
downloadllvm-7a90e04fc76392972bd8bd0ddee5c934c22c1393.tar.gz
llvm-7a90e04fc76392972bd8bd0ddee5c934c22c1393.tar.bz2
llvm-7a90e04fc76392972bd8bd0ddee5c934c22c1393.tar.xz
Revert r127953, "SimplifyCFG has stopped duplicating returns into predecessors
to canonicalize IR", it broke a lot of things. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127954 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetLowering.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index 6b3c45adc5..5b3f2b35bf 100644
--- a/include/llvm/Target/TargetLowering.h
+++ b/include/llvm/Target/TargetLowering.h
@@ -1287,14 +1287,6 @@ public:
return false;
}
- /// mayBeEmittedAsTailCall - Return true if the target may be able emit the
- /// call instruction as a tail call. This is used by optimization passes to
- /// determine if it's profitable to duplicate return instructions to enable
- /// tailcall optimization.
- virtual bool mayBeEmittedAsTailCall(CallInst *CI) const {
- return false;
- }
-
/// getTypeForExtArgOrReturn - Return the type that should be used to zero or
/// sign extend a zeroext/signext integer argument or return value.
/// FIXME: Most C calling convention requires the return type to be promoted,