Changes in directory llvm/utils/TableGen:
DAGISelEmitter.cpp updated: 1.206 -> 1.207 --- Log message: Can't trust NodeDepth when checking for possibility of load folding creating a cycle. This increase the search space and will increase compile time (in practice it appears to be small, e.g. 176.gcc goes from 62 sec to 65 sec) that will be addressed later. --- Diffs of the changes: (+5 -7) DAGISelEmitter.cpp | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) Index: llvm/utils/TableGen/DAGISelEmitter.cpp diff -u llvm/utils/TableGen/DAGISelEmitter.cpp:1.206 llvm/utils/TableGen/DAGISelEmitter.cpp:1.207 --- llvm/utils/TableGen/DAGISelEmitter.cpp:1.206 Wed May 24 19:21:44 2006 +++ llvm/utils/TableGen/DAGISelEmitter.cpp Thu May 25 15:16:55 2006 @@ -3481,13 +3481,11 @@ OS << " if (found || !Visited.insert(Use).second) return;\n"; OS << " for (unsigned i = 0, e = Use->getNumOperands(); i != e; ++i) {\n"; OS << " SDNode *N = Use->getOperand(i).Val;\n"; - OS << " if (N->getNodeDepth() >= Def->getNodeDepth()) {\n"; - OS << " if (N != Def) {\n"; - OS << " findNonImmUse(N, Def, found, Visited);\n"; - OS << " } else {\n"; - OS << " found = true;\n"; - OS << " break;\n"; - OS << " }\n"; + OS << " if (N != Def) {\n"; + OS << " findNonImmUse(N, Def, found, Visited);\n"; + OS << " } else {\n"; + OS << " found = true;\n"; + OS << " break;\n"; OS << " }\n"; OS << " }\n"; OS << "}\n"; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits