Add a comment: value is log2
authorChris Lattner <sabre@nondot.org>
Thu, 9 Feb 2006 02:10:15 +0000 (02:10 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 9 Feb 2006 02:10:15 +0000 (02:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26068 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAGNodes.h

index 1e8f8d8f2dc9ed51652177e1225483b25046f648..1eeb7b31e50fe1a31c241aa57b3e9d5d2f9b8831 100644 (file)
@@ -1074,6 +1074,9 @@ protected:
 public:
 
   Constant *get() const { return C; }
+  
+  // Return the alignment of this constant pool object, which is either 0 (for
+  // default alignment) or log2 of the desired value.
   unsigned getAlignment() const { return Alignment; }
 
   static bool classof(const ConstantPoolSDNode *) { return true; }