summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelLowering.cpp
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/lib/Target/ARM/ARMISelLowering.cpp
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/lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp
index 891ea62191f..35a9bf78c2e 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.cpp
+++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp
@@ -1805,16 +1805,6 @@ bool ARMTargetLowering::isUsedByReturnOnly(SDNode *N) const {
return HasRet;
}
-bool ARMTargetLowering::mayBeEmittedAsTailCall(CallInst *CI) const {
- if (!EnableARMTailCalls)
- return false;
-
- if (!CI->isTailCall())
- return false;
-
- return !Subtarget->isThumb1Only();
-}
-
// ConstantPool, JumpTable, GlobalAddress, and ExternalSymbol are lowered as
// their target counterpart wrapped in the ARMISD::Wrapper node. Suppose N is
// one of the above mentioned nodes. It has to be wrapped because otherwise
OpenPOWER on IntegriCloud