diff options
| author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2017-04-13 15:05:51 +0000 |
|---|---|---|
| committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2017-04-13 15:05:51 +0000 |
| commit | 5619952ee1c7f5ccf54e94202905f0d35d999293 (patch) | |
| tree | 9728605ccbf934a7274484a8b891213ad22cfc36 /llvm/lib/Target/Hexagon/HexagonISelLowering.h | |
| parent | 3e2046cd1bfa2e4b7baa3edbb1ac813e46e6552b (diff) | |
| download | bcm5719-llvm-5619952ee1c7f5ccf54e94202905f0d35d999293.tar.gz bcm5719-llvm-5619952ee1c7f5ccf54e94202905f0d35d999293.zip | |
[Hexagon] Implement HexagonTargetLowering::CanLowerReturn
Patch by Michael Wu.
Differential Revision: https://reviews.llvm.org/D32000
llvm-svn: 300199
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonISelLowering.h')
| -rw-r--r-- | llvm/lib/Target/Hexagon/HexagonISelLowering.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonISelLowering.h b/llvm/lib/Target/Hexagon/HexagonISelLowering.h index aa0f00cd5bb..fb8f0ba6b05 100644 --- a/llvm/lib/Target/Hexagon/HexagonISelLowering.h +++ b/llvm/lib/Target/Hexagon/HexagonISelLowering.h @@ -185,6 +185,11 @@ namespace HexagonISD { SDValue LowerRETURNADDR(SDValue Op, SelectionDAG &DAG) const; SDValue LowerLOAD(SDValue Op, SelectionDAG &DAG) const; + bool CanLowerReturn(CallingConv::ID CallConv, + MachineFunction &MF, bool isVarArg, + const SmallVectorImpl<ISD::OutputArg> &Outs, + LLVMContext &Context) const override; + SDValue LowerReturn(SDValue Chain, CallingConv::ID CallConv, bool isVarArg, const SmallVectorImpl<ISD::OutputArg> &Outs, const SmallVectorImpl<SDValue> &OutVals, |

