[llvm-commits] [llvm] r102637 - /llvm/trunk/include/llvm/CodeGen/ISDOpcodes.h

Dan Gohman gohman at apple.com
Thu Apr 29 09:57:55 PDT 2010


Author: djg
Date: Thu Apr 29 11:57:54 2010
New Revision: 102637

URL: http://llvm.org/viewvc/llvm-project?rev=102637&view=rev
Log:
Elaborate on a comment.

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

Modified: llvm/trunk/include/llvm/CodeGen/ISDOpcodes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/ISDOpcodes.h?rev=102637&r1=102636&r2=102637&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/ISDOpcodes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/ISDOpcodes.h Thu Apr 29 11:57:54 2010
@@ -95,8 +95,11 @@
     // execution to HANDLER. Many platform-related details also :)
     EH_RETURN,
 
-    // TargetConstant* - Like Constant*, but the DAG does not do any folding or
-    // simplification of the constant.
+    // TargetConstant* - Like Constant*, but the DAG does not do any folding,
+    // simplification, or lowering of the constant. They are used for constants
+    // which are known to fit in the immediate fields of their users, or for
+    // carrying magic numbers which are not values which need to be materialized
+    // in registers.
     TargetConstant,
     TargetConstantFP,
 





More information about the llvm-commits mailing list