aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/SelectionDAG.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-01-12 18:11:36 +0000
committerChris Lattner <sabre@nondot.org>2005-01-12 18:11:36 +0000
commit9ffdfb6bae9a8befd23e002f71f08aa42caee627 (patch)
tree946c8b0b4d58eea587ca79db57fc99252c9dced6 /include/llvm/CodeGen/SelectionDAG.h
parent9bbd992eb182c03403f6828c1e2bf7c60cd98d2d (diff)
Update comments to indicate CopyFrom/ToReg take physregs as well as vregs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19514 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAG.h')
-rw-r--r--include/llvm/CodeGen/SelectionDAG.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h
index fcf42daf5f..ac6a9d7262 100644
--- a/include/llvm/CodeGen/SelectionDAG.h
+++ b/include/llvm/CodeGen/SelectionDAG.h
@@ -116,17 +116,17 @@ public:
SDOperand getBasicBlock(MachineBasicBlock *MBB);
SDOperand getExternalSymbol(const char *Sym, MVT::ValueType VT);
- SDOperand getCopyToReg(SDOperand Chain, SDOperand N, unsigned VReg) {
+ SDOperand getCopyToReg(SDOperand Chain, SDOperand N, unsigned Reg) {
// Note: these are auto-CSE'd because the caller doesn't make requests that
// could cause duplicates to occur.
- SDNode *NN = new CopyRegSDNode(Chain, N, VReg);
+ SDNode *NN = new CopyRegSDNode(Chain, N, Reg);
AllNodes.push_back(NN);
return SDOperand(NN, 0);
}
- SDOperand getCopyFromReg(unsigned VReg, MVT::ValueType VT) {
+ SDOperand getCopyFromReg(unsigned Reg, MVT::ValueType VT) {
// Note: These nodes are auto-CSE'd by the caller of this method.
- SDNode *NN = new CopyRegSDNode(VReg, VT);
+ SDNode *NN = new CopyRegSDNode(Reg, VT);
AllNodes.push_back(NN);
return SDOperand(NN, 0);
}