From 951217976d11e4eaed93259b75afdcbf659f506f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 4 Feb 2006 09:23:06 +0000 Subject: [PATCH] Temporarily revert the last change, which breaks PPC and other targets that DO select things. llvm-svn: 25970 --- utils/TableGen/DAGISelEmitter.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/utils/TableGen/DAGISelEmitter.cpp b/utils/TableGen/DAGISelEmitter.cpp index 0b3d6df0d1f..873b8ade4e2 100644 --- a/utils/TableGen/DAGISelEmitter.cpp +++ b/utils/TableGen/DAGISelEmitter.cpp @@ -2137,9 +2137,10 @@ public: Code += ", Tmp" + utostr(i + ResNo); emitCheck(Code + ")"); - for (unsigned i = 0; i < NumRes; ++i) - emitCode("Tmp" + utostr(i+ResNo) + " = Select(Tmp" + - utostr(i+ResNo) + ");"); + // This breaks ppc + //for (unsigned i = 0; i < NumRes; ++i) + // emitCode("Tmp" + utostr(i+ResNo) + " = Select(Tmp" + + // utostr(i+ResNo) + ");"); TmpNo = ResNo + NumRes; } else {