From 5768ea9ca1409d7686b64607d6e0ad87d9d84c23 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 29 Apr 2010 16:57:54 +0000 Subject: [PATCH] Elaborate on a comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102637 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/ISDOpcodes.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/llvm/CodeGen/ISDOpcodes.h b/include/llvm/CodeGen/ISDOpcodes.h index eb922e99744..ba554d335d8 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, -- 2.34.1