[llvm-commits] [llvm] r58339 - /llvm/trunk/include/llvm/CodeGen/DAGISelHeader.h

Dan Gohman gohman at apple.com
Tue Oct 28 11:47:37 PDT 2008


Author: djg
Date: Tue Oct 28 13:47:37 2008
New Revision: 58339

URL: http://llvm.org/viewvc/llvm-project?rev=58339&view=rev
Log:
Add some more information to the top-level comment for this file.

Modified:
    llvm/trunk/include/llvm/CodeGen/DAGISelHeader.h

Modified: llvm/trunk/include/llvm/CodeGen/DAGISelHeader.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/DAGISelHeader.h?rev=58339&r1=58338&r2=58339&view=diff

==============================================================================
--- llvm/trunk/include/llvm/CodeGen/DAGISelHeader.h (original)
+++ llvm/trunk/include/llvm/CodeGen/DAGISelHeader.h Tue Oct 28 13:47:37 2008
@@ -11,7 +11,11 @@
 // data, which is used by SelectionDAG-based instruction selectors.
 //
 // *** NOTE: This file is #included into the middle of the target
-// *** instruction selector class.  These functions are really methods.
+// instruction selector class.  These functions are really methods.
+// This is a little awkward, but it allows this code to be shared
+// by all the targets while still being able to call into
+// target-specific code without using a virtual function call.
+//
 //===----------------------------------------------------------------------===//
 
 #ifndef LLVM_CODEGEN_DAGISEL_HEADER_H





More information about the llvm-commits mailing list