summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-04-29 16:57:54 +0000
committerDan Gohman <gohman@apple.com>2010-04-29 16:57:54 +0000
commit5768ea9ca1409d7686b64607d6e0ad87d9d84c23 (patch)
treefd290ada85fbf801182294c38a4f111d11c140c6 /include
parent8ae93e77e83d796030d334b6a9b1b48efd170687 (diff)
downloadexternal_llvm-5768ea9ca1409d7686b64607d6e0ad87d9d84c23.zip
external_llvm-5768ea9ca1409d7686b64607d6e0ad87d9d84c23.tar.gz
external_llvm-5768ea9ca1409d7686b64607d6e0ad87d9d84c23.tar.bz2
Elaborate on a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102637 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/ISDOpcodes.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/ISDOpcodes.h b/include/llvm/CodeGen/ISDOpcodes.h
index eb922e9..ba554d3 100644
--- a/include/llvm/CodeGen/ISDOpcodes.h
+++ b/include/llvm/CodeGen/ISDOpcodes.h
@@ -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,