Update comments to indicate CopyFrom/ToReg take physregs as well as vregs.
[oota-llvm.git] / include / llvm / CodeGen / SelectionDAG.h
index fcf42daf5f66d16eb4f1a332175684926c4fd12b..ac6a9d7262957c818dc62630cd8896fe87f9ef72 100644 (file)
@@ -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);
   }