summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelLowering.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-03-21 01:19:09 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-03-21 01:19:09 +0000
commit0663f23bd8044db0b596a1813a92870ea14c2e4f (patch)
treec62ef5b91bb24502185e27cb5635250972eba8d0 /llvm/lib/Target/ARM/ARMISelLowering.h
parente1d2584d446c459e19c076142ea5b8d483e0d733 (diff)
downloadbcm5719-llvm-0663f23bd8044db0b596a1813a92870ea14c2e4f.tar.gz
bcm5719-llvm-0663f23bd8044db0b596a1813a92870ea14c2e4f.zip
Re-apply r127953 with fixes: eliminate empty return block if it has no predecessors; update dominator tree if cfg is modified.
llvm-svn: 127981
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.h')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.h b/llvm/lib/Target/ARM/ARMISelLowering.h
index 402e1c6c5da..e09c1dacfa8 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.h
+++ b/llvm/lib/Target/ARM/ARMISelLowering.h
@@ -457,6 +457,8 @@ namespace llvm {
virtual bool isUsedByReturnOnly(SDNode *N) const;
+ virtual bool mayBeEmittedAsTailCall(CallInst *CI) const;
+
SDValue getARMCmp(SDValue LHS, SDValue RHS, ISD::CondCode CC,
SDValue &ARMcc, SelectionDAG &DAG, DebugLoc dl) const;
SDValue getVFPCmp(SDValue LHS, SDValue RHS,
OpenPOWER on IntegriCloud