[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

Evan Cheng evan.cheng at apple.com
Sat Aug 26 00:39:42 PDT 2006



Changes in directory llvm/utils/TableGen:

DAGISelEmitter.cpp updated: 1.249 -> 1.250
---
Log message:

Minor getCopyToReg() call change.

---
Diffs of the changes:  (+2 -3)

 DAGISelEmitter.cpp |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)


Index: llvm/utils/TableGen/DAGISelEmitter.cpp
diff -u llvm/utils/TableGen/DAGISelEmitter.cpp:1.249 llvm/utils/TableGen/DAGISelEmitter.cpp:1.250
--- llvm/utils/TableGen/DAGISelEmitter.cpp:1.249	Sat Aug 26 00:29:57 2006
+++ llvm/utils/TableGen/DAGISelEmitter.cpp	Sat Aug 26 02:39:28 2006
@@ -2897,9 +2897,8 @@
               }
               std::string Decl = (!ResNodeDecled) ? "SDNode *" : "";
               emitCode(Decl + "ResNode = CurDAG->getCopyToReg(" + ChainName +
-                       ", CurDAG->getRegister(" + ISE.getQualifiedName(RR) +
-                       ", " + getEnumName(RVT) + "), " +
-                       RootName + utostr(OpNo) + ", InFlag).Val;");
+                       ", " + ISE.getQualifiedName(RR) +
+                       ", " +  RootName + utostr(OpNo) + ", InFlag).Val;");
               ResNodeDecled = true;
               emitCode(ChainName + " = SDOperand(ResNode, 0);");
               emitCode("InFlag = SDOperand(ResNode, 1);");






More information about the llvm-commits mailing list