summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit327cd36f7467cc995f132e698eb7adb31dd736a4 (patch)
tree8daa80495d93ee2533d15f63d3c372676518e9d6 /llvm/include
parent824a7113053e816af6617afba44dd4c3c684a624 (diff)
downloadbcm5719-llvm-327cd36f7467cc995f132e698eb7adb31dd736a4.tar.gz
bcm5719-llvm-327cd36f7467cc995f132e698eb7adb31dd736a4.zip
Revert r127953, "SimplifyCFG has stopped duplicating returns into predecessors
to canonicalize IR", it broke a lot of things. llvm-svn: 127954
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/Target/TargetLowering.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/include/llvm/Target/TargetLowering.h b/llvm/include/llvm/Target/TargetLowering.h
index 6b3c45adc59..5b3f2b35bf8 100644
--- a/llvm/include/llvm/Target/TargetLowering.h
+++ b/llvm/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,
OpenPOWER on IntegriCloud