diff options
| author | Nate Begeman <natebegeman@mac.com> | 2006-01-28 03:14:31 +0000 |
|---|---|---|
| committer | Nate Begeman <natebegeman@mac.com> | 2006-01-28 03:14:31 +0000 |
| commit | 595ec734fc08fe7e72b7c3058ed973e91176f768 (patch) | |
| tree | 0e7af7b73ab564b423ab4ce0a94300f72c840111 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
| parent | 6c82262289f60b7785bc352d09938df58187d1f8 (diff) | |
| download | bcm5719-llvm-595ec734fc08fe7e72b7c3058ed973e91176f768.tar.gz bcm5719-llvm-595ec734fc08fe7e72b7c3058ed973e91176f768.zip | |
Implement Promote for VAARG, and allow it to be custom promoted for people
who don't want the default behavior (Alpha).
llvm-svn: 25726
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index d6cdb32e1d2..78db4554dae 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -1281,6 +1281,13 @@ SDOperand TargetLowering::LowerOperation(SDOperand Op, SelectionDAG &DAG) { return SDOperand(); } +SDOperand TargetLowering::CustomPromoteOperation(SDOperand Op, + SelectionDAG &DAG) { + assert(0 && "CustomPromoteOperation not implemented for this target!"); + abort(); + return SDOperand(); +} + void SelectionDAGLowering::visitFrameReturnAddress(CallInst &I, bool isFrame) { unsigned Depth = (unsigned)cast<ConstantUInt>(I.getOperand(1))->getValue(); std::pair<SDOperand,SDOperand> Result = |

