Asserting here is to violent
authorChris Lattner <sabre@nondot.org>
Wed, 19 Oct 2005 01:55:23 +0000 (01:55 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 19 Oct 2005 01:55:23 +0000 (01:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23814 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/DAGISelEmitter.cpp

index d0dc799ac000cbbe12341fdd4bf432e642316da5..12ca95f7d0e5e076516f815ced6f92ea830afb18 100644 (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.