Elaborate on a comment.
authorDan Gohman <gohman@apple.com>
Thu, 29 Apr 2010 16:57:54 +0000 (16:57 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 29 Apr 2010 16:57:54 +0000 (16:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102637 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/ISDOpcodes.h

index eb922e99744daadf92e59747278b7ece4125c95d..ba554d335d8817bd39a18b65602e996ace82826c 100644 (file)
@@ -95,8 +95,11 @@ namespace ISD {
     // 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,