[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Oct 18 18:55:35 PDT 2005
Changes in directory llvm/utils/TableGen:
DAGISelEmitter.cpp updated: 1.60 -> 1.61
---
Log message:
Asserting here is to violent
---
Diffs of the changes: (+3 -1)
DAGISelEmitter.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
Index: llvm/utils/TableGen/DAGISelEmitter.cpp
diff -u llvm/utils/TableGen/DAGISelEmitter.cpp:1.60 llvm/utils/TableGen/DAGISelEmitter.cpp:1.61
--- llvm/utils/TableGen/DAGISelEmitter.cpp:1.60 Tue Oct 18 20:27:22 2005
+++ llvm/utils/TableGen/DAGISelEmitter.cpp Tue Oct 18 20:55:23 2005
@@ -462,7 +462,9 @@
// Pattern fragment types will be resolved when they are inlined.
return MVT::isUnknown;
} else if (R->isSubClassOf("Register")) {
- assert(0 && "Explicit registers not handled here yet!\n");
+ //const CodeGenTarget &T = TP.getDAGISelEmitter().getTargetInfo();
+ // TODO: if a register appears in exactly one regclass, we could use that
+ // type info.
return MVT::isUnknown;
} else if (R->isSubClassOf("ValueType")) {
// Using a VTSDNode.
More information about the llvm-commits
mailing list