summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-28 03:37:03 +0000
committerChris Lattner <sabre@nondot.org>2006-01-28 03:37:03 +0000
commit43b867dd3b4927ec7d37d787b31015146f7e8e74 (patch)
treeeb1638cfdb9ff5c9ec616915d0fe0f0c9045e58f /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
parent595ec734fc08fe7e72b7c3058ed973e91176f768 (diff)
downloadbcm5719-llvm-43b867dd3b4927ec7d37d787b31015146f7e8e74.tar.gz
bcm5719-llvm-43b867dd3b4927ec7d37d787b31015146f7e8e74.zip
add a new callback
llvm-svn: 25727
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 78db4554dae..aa7659320d8 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -1288,6 +1288,13 @@ SDOperand TargetLowering::CustomPromoteOperation(SDOperand Op,
return SDOperand();
}
+void TargetLowering::CustomExpandOperation(SDOperand Op, SDOperand &Lo,
+ SDOperand &Hi, SelectionDAG &DAG) {
+ assert(0 && "CustomExpandOperation 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 =
OpenPOWER on IntegriCloud