Asserting here is to violent

llvm-svn: 23814
This commit is contained in:
Chris Lattner 2005-10-19 01:55:23 +00:00
parent 5f37623218
commit c8f899f98d
1 changed files with 3 additions and 1 deletions

View File

@ -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.