From c8f899f98d8aab9889391805655911cd842ee1bd Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 19 Oct 2005 01:55:23 +0000 Subject: [PATCH] Asserting here is to violent llvm-svn: 23814 --- llvm/utils/TableGen/DAGISelEmitter.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/llvm/utils/TableGen/DAGISelEmitter.cpp b/llvm/utils/TableGen/DAGISelEmitter.cpp index d0dc799ac000..12ca95f7d0e5 100644 --- a/llvm/utils/TableGen/DAGISelEmitter.cpp +++ b/llvm/utils/TableGen/DAGISelEmitter.cpp @@ -462,7 +462,9 @@ static unsigned char getIntrinsicType(Record *R, bool NotRegisters, // 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.