aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/SelectionDAG.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAG.h')
-rw-r--r--include/llvm/CodeGen/SelectionDAG.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h
index c2f09b7..ec2d1d7 100644
--- a/include/llvm/CodeGen/SelectionDAG.h
+++ b/include/llvm/CodeGen/SelectionDAG.h
@@ -324,14 +324,6 @@ public:
return getNode(ISD::CopyToReg, dl, MVT::Other, Chain,
getRegister(Reg, N.getValueType()), N);
}
- // This version of getCopyToReg has the register (and its type) as an
- // explicit output.
- SDValue getCopyToReg(SDValue Chain, DebugLoc dl, MVT VT, unsigned Reg,
- SDValue N) {
- SDVTList VTs = getVTList(MVT::Other, VT);
- SDValue Ops[] = { Chain, getRegister(Reg, VT), N};
- return getNode(ISD::CopyToReg, dl, VTs, Ops, 3);
- }
// This version of the getCopyToReg method takes an extra operand, which
// indicates that there is potentially an incoming flag value (if Flag is not