diff options
Diffstat (limited to 'llvm/lib/Target/PIC16/PIC16ISelLowering.cpp')
| -rw-r--r-- | llvm/lib/Target/PIC16/PIC16ISelLowering.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16ISelLowering.cpp b/llvm/lib/Target/PIC16/PIC16ISelLowering.cpp index 1f7b0614589..c8e58a6543f 100644 --- a/llvm/lib/Target/PIC16/PIC16ISelLowering.cpp +++ b/llvm/lib/Target/PIC16/PIC16ISelLowering.cpp @@ -137,8 +137,6 @@ PIC16TargetLowering::PIC16TargetLowering(PIC16TargetMachine &TM) //setOperationAction(ISD::TRUNCATE, MVT::i16, Custom); setTruncStoreAction(MVT::i16, MVT::i8, Custom); - setOperationAction(ISD::DBG_STOPPOINT, MVT::Other, Custom); - // Now deduce the information based on the above mentioned // actions computeRegisterProperties(); @@ -274,7 +272,6 @@ const char *PIC16TargetLowering::getTargetNodeName(unsigned Opcode) const { case PIC16ISD::SELECT_ICC: return "PIC16ISD::SELECT_ICC"; case PIC16ISD::BRCOND: return "PIC16ISD::BRCOND"; case PIC16ISD::Dummy: return "PIC16ISD::Dummy"; - case PIC16ISD::PIC16StopPoint: return "PIC16ISD::PIC16StopPoint"; } } @@ -825,21 +822,10 @@ SDValue PIC16TargetLowering::LowerOperation(SDValue Op, SelectionDAG &DAG) { return LowerBR_CC(Op, DAG); case ISD::SELECT_CC: return LowerSELECT_CC(Op, DAG); - case ISD::DBG_STOPPOINT: - return LowerStopPoint(Op, DAG); } return SDValue(); } -SDValue PIC16TargetLowering::LowerStopPoint(SDValue Op, SelectionDAG &DAG) { - DbgStopPointSDNode *SP = dyn_cast<DbgStopPointSDNode>(Op); - unsigned line = SP->getLine(); - SDValue LineNode = DAG.getConstant(line, MVT::i8); - DebugLoc dl = Op.getDebugLoc(); - return DAG.getNode(PIC16ISD::PIC16StopPoint, dl, MVT::Other, - Op.getOperand(0), LineNode); -} - SDValue PIC16TargetLowering::ConvertToMemOperand(SDValue Op, SelectionDAG &DAG, DebugLoc dl) { |

