summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2005-03-31 21:24:06 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2005-03-31 21:24:06 +0000
commitdec53920b4bdf613872968773c619d9bc661db77 (patch)
tree8dd316638681e85bc4c3ecc6be9fdba46c0c2de1 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
parent21ce5f7a663a76f7eb0dbbc2825a83d630775085 (diff)
downloadbcm5719-llvm-dec53920b4bdf613872968773c619d9bc661db77.tar.gz
bcm5719-llvm-dec53920b4bdf613872968773c619d9bc661db77.zip
PCMarker support for DAG and Alpha
llvm-svn: 20965
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 9871cb32c16..75352982034 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -662,6 +662,12 @@ void SelectionDAGLowering::visitCall(CallInst &I) {
setValue(&I, DAG.getSetCC(ISD::SETUO, MVT::i1, getValue(I.getOperand(1)),
getValue(I.getOperand(2))));
return;
+ case Intrinsic::pcmarker: {
+ SDOperand Num = getValue(I.getOperand(1));
+ DAG.setRoot(DAG.getNode(ISD::PCMARKER, MVT::Other, getRoot(), Num));
+ return;
+ }
+
}
SDOperand Callee;
OpenPOWER on IntegriCloud