[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Sep 8 16:26:41 PDT 2005
Changes in directory llvm/utils/TableGen:
DAGISelEmitter.cpp updated: 1.6 -> 1.7
---
Log message:
Fix incorrect comment
---
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.6 llvm/utils/TableGen/DAGISelEmitter.cpp:1.7
--- llvm/utils/TableGen/DAGISelEmitter.cpp:1.6 Thu Sep 8 18:22:48 2005
+++ llvm/utils/TableGen/DAGISelEmitter.cpp Thu Sep 8 18:26:30 2005
@@ -636,15 +636,14 @@
// Inline pattern fragments into it.
I->InlinePatternFragments();
- // Infer as many types as possible. Don't worry about it if we don't infer
- // all of them, some may depend on the inputs of the pattern.
+ // Infer as many types as possible. If we cannot infer all of them, we can
+ // never do anything with this instruction pattern: report it to the user.
if (!I->InferAllTypes()) {
I->dump();
I->error("Could not infer all types in pattern!");
}
DEBUG(I->dump());
-
Instructions.push_back(I);
}
}
More information about the llvm-commits
mailing list