[llvm-commits] CVS: llvm/lib/Target/IA64/IA64ISelLowering.cpp IA64ISelLowering.h
Nate Begeman
natebegeman at mac.com
Mon Jan 29 14:59:22 PST 2007
Changes in directory llvm/lib/Target/IA64:
IA64ISelLowering.cpp updated: 1.52 -> 1.53
IA64ISelLowering.h updated: 1.8 -> 1.9
---
Log message:
Finish off bug 680: http://llvm.org/PR680 , allowing targets to custom lower frame and return
address nodes.
---
Diffs of the changes: (+4 -11)
IA64ISelLowering.cpp | 11 ++++-------
IA64ISelLowering.h | 4 ----
2 files changed, 4 insertions(+), 11 deletions(-)
Index: llvm/lib/Target/IA64/IA64ISelLowering.cpp
diff -u llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.52 llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.53
--- llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.52 Fri Jan 26 08:34:51 2007
+++ llvm/lib/Target/IA64/IA64ISelLowering.cpp Mon Jan 29 16:58:52 2007
@@ -532,13 +532,6 @@
return std::make_pair(RetVal, Chain);
}
-std::pair<SDOperand, SDOperand> IA64TargetLowering::
-LowerFrameReturnAddress(bool isFrameAddress, SDOperand Chain, unsigned Depth,
- SelectionDAG &DAG) {
- assert(0 && "LowerFrameReturnAddress unimplemented");
- abort();
-}
-
SDOperand IA64TargetLowering::
LowerOperation(SDOperand Op, SelectionDAG &DAG) {
switch (Op.getOpcode()) {
@@ -594,5 +587,9 @@
return DAG.getStore(Op.getOperand(0), FR,
Op.getOperand(1), SV->getValue(), SV->getOffset());
}
+ // Frame & Return address. Currently unimplemented
+ case ISD::RETURNADDR: break;
+ case ISD::FRAMEADDR: break;
}
+ return SDOperand();
}
Index: llvm/lib/Target/IA64/IA64ISelLowering.h
diff -u llvm/lib/Target/IA64/IA64ISelLowering.h:1.8 llvm/lib/Target/IA64/IA64ISelLowering.h:1.9
--- llvm/lib/Target/IA64/IA64ISelLowering.h:1.8 Sat Dec 30 23:55:36 2006
+++ llvm/lib/Target/IA64/IA64ISelLowering.h Mon Jan 29 16:58:52 2007
@@ -66,10 +66,6 @@
/// (currently, only "ret void")
virtual SDOperand LowerOperation(SDOperand Op, SelectionDAG &DAG);
- virtual std::pair<SDOperand, SDOperand>
- LowerFrameReturnAddress(bool isFrameAddr, SDOperand Chain, unsigned Depth,
- SelectionDAG &DAG);
-
// XXX virtual MachineBasicBlock *InsertAtEndOfBasicBlock(MachineInstr *MI,
// XXX MachineBasicBlock *MBB);
};
More information about the llvm-commits
mailing list