diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2012-02-28 18:51:51 +0000 | 
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2012-02-28 18:51:51 +0000 | 
| commit | 65f9d19c4fb4017f4b8ec92a75a8444e41bb59cc (patch) | |
| tree | 41d1153486927a02471033620814035963fe1d08 /llvm/lib/Target/MSP430 | |
| parent | f2e160c665cbc0ae4f546814f1ad28f2a0e59a07 (diff) | |
| download | bcm5719-llvm-65f9d19c4fb4017f4b8ec92a75a8444e41bb59cc.tar.gz bcm5719-llvm-65f9d19c4fb4017f4b8ec92a75a8444e41bb59cc.zip | |
Re-commit r151623 with fix. Only issue special no-return calls if it's a direct call.
llvm-svn: 151645
Diffstat (limited to 'llvm/lib/Target/MSP430')
| -rw-r--r-- | llvm/lib/Target/MSP430/MSP430ISelLowering.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/Target/MSP430/MSP430ISelLowering.h | 4 | 
2 files changed, 3 insertions, 3 deletions
| diff --git a/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp b/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp index 1c69f61d09e..071a2f7de2c 100644 --- a/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp +++ b/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp @@ -268,7 +268,7 @@ MSP430TargetLowering::LowerFormalArguments(SDValue Chain,  SDValue  MSP430TargetLowering::LowerCall(SDValue Chain, SDValue Callee,                                  CallingConv::ID CallConv, bool isVarArg, -                                bool &isTailCall, +                                bool doesNotRet, bool &isTailCall,                                  const SmallVectorImpl<ISD::OutputArg> &Outs,                                  const SmallVectorImpl<SDValue> &OutVals,                                  const SmallVectorImpl<ISD::InputArg> &Ins, diff --git a/llvm/lib/Target/MSP430/MSP430ISelLowering.h b/llvm/lib/Target/MSP430/MSP430ISelLowering.h index d29a0fd34be..e372f00bf32 100644 --- a/llvm/lib/Target/MSP430/MSP430ISelLowering.h +++ b/llvm/lib/Target/MSP430/MSP430ISelLowering.h @@ -152,8 +152,8 @@ namespace llvm {                             DebugLoc dl, SelectionDAG &DAG,                             SmallVectorImpl<SDValue> &InVals) const;      virtual SDValue -      LowerCall(SDValue Chain, SDValue Callee, -                CallingConv::ID CallConv, bool isVarArg, bool &isTailCall, +      LowerCall(SDValue Chain, SDValue Callee, CallingConv::ID CallConv, +                bool isVarArg, bool doesNotRet, bool &isTailCall,                  const SmallVectorImpl<ISD::OutputArg> &Outs,                  const SmallVectorImpl<SDValue> &OutVals,                  const SmallVectorImpl<ISD::InputArg> &Ins, | 

