Changes in directory llvm/utils/TableGen:

DAGISelEmitter.cpp updated: 1.163 -> 1.164
---
Log message:

Re-committing the last bit of change. It shouldn't break PPC this time.


---
Diffs of the changes:  (+7 -4)

 DAGISelEmitter.cpp |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)


Index: llvm/utils/TableGen/DAGISelEmitter.cpp
diff -u llvm/utils/TableGen/DAGISelEmitter.cpp:1.163 
llvm/utils/TableGen/DAGISelEmitter.cpp:1.164
--- llvm/utils/TableGen/DAGISelEmitter.cpp:1.163        Sat Feb  4 03:23:06 2006
+++ llvm/utils/TableGen/DAGISelEmitter.cpp      Sat Feb  4 23:22:18 2006
@@ -2137,10 +2137,9 @@
           Code += ", Tmp" + utostr(i + ResNo);
         emitCheck(Code + ")");
 
-        // This breaks ppc
-        //for (unsigned i = 0; i < NumRes; ++i)
-        //  emitCode("Tmp" + utostr(i+ResNo) + " = Select(Tmp" +
-        //           utostr(i+ResNo) + ");");
+        for (unsigned i = 0; i < NumRes; ++i)
+          emitCode("Tmp" + utostr(i+ResNo) + " = Select(Tmp" +
+                   utostr(i+ResNo) + ");");
 
         TmpNo = ResNo + NumRes;
       } else {
@@ -2885,6 +2884,10 @@
      << "  case ISD::EntryToken:       // These leaves remain the same.\n"
      << "  case ISD::BasicBlock:\n"
      << "  case ISD::Register:\n"
+     << "  case ISD::TargetConstant:\n"
+     << "  case ISD::TargetConstantPool:\n"
+     << "  case ISD::TargetFrameIndex:\n"
+     << "  case ISD::TargetGlobalAddress:\n"
      << "    return N;\n"
      << "  case ISD::AssertSext:\n"
      << "  case ISD::AssertZext: {\n"



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to