commentate
authorChris Lattner <sabre@nondot.org>
Fri, 10 Nov 2006 04:41:34 +0000 (04:41 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 10 Nov 2006 04:41:34 +0000 (04:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31627 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

index 26f3bffe84bc6349d7f15ce491360b6ce296006c..3cddefe57e1e77e84e7eb7ae239d2407c6431699 100644 (file)
@@ -458,6 +458,8 @@ public:
   void visit(Instruction &I) { visit(I.getOpcode(), I); }
 
   void visit(unsigned Opcode, User &I) {
+    // Note: this doesn't use InstVisitor, because it has to work with
+    // ConstantExpr's in addition to instructions.
     switch (Opcode) {
     default: assert(0 && "Unknown instruction type encountered!");
              abort();