summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2007-01-29 22:58:52 +0000
committerNate Begeman <natebegeman@mac.com>2007-01-29 22:58:52 +0000
commiteda5997cc8e2ddaea20bc5cbb211622294320af7 (patch)
tree3c2896c81c262ed0f94ed51c8fefaf5c6423a0db /llvm/lib/Target/Sparc
parente3b09fbbb04af77f8d9cde3e258fd3e34b83fe6e (diff)
downloadbcm5719-llvm-eda5997cc8e2ddaea20bc5cbb211622294320af7.tar.gz
bcm5719-llvm-eda5997cc8e2ddaea20bc5cbb211622294320af7.zip
Finish off bug 680, allowing targets to custom lower frame and return
address nodes. llvm-svn: 33636
Diffstat (limited to 'llvm/lib/Target/Sparc')
-rw-r--r--llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp b/llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp
index f361b4670a5..647007e86bf 100644
--- a/llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp
+++ b/llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp
@@ -868,7 +868,11 @@ LowerOperation(SDOperand Op, SelectionDAG &DAG) {
}
return DAG.getNode(SPISD::RET_FLAG, MVT::Other, Copy, Copy.getValue(1));
}
+ // Frame & Return address. Currently unimplemented
+ case ISD::RETURNADDR: break;
+ case ISD::FRAMEADDR: break;
}
+ return SDOperand();
}
MachineBasicBlock *
OpenPOWER on IntegriCloud