aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen
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
commit4f16e70faad0840357998059f7f296e5f5e412be (patch)
treecb444ecfda1b996636a2f4462b2c82e5a5071e5e /lib/CodeGen
parent0aed7840ec8cc85f91b4aa6e69318bba0cbd1f03 (diff)
add a new callback
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25727 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 78db4554da..aa7659320d 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/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 =