[llvm-commits] CVS: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
Chris Lattner
lattner at cs.uiuc.edu
Wed Feb 8 18:10:27 PST 2006
Changes in directory llvm/include/llvm/CodeGen:
SelectionDAGNodes.h updated: 1.100 -> 1.101
---
Log message:
Add a comment: value is log2
---
Diffs of the changes: (+3 -0)
SelectionDAGNodes.h | 3 +++
1 files changed, 3 insertions(+)
Index: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
diff -u llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.100 llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.101
--- llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.100 Sun Feb 5 00:29:23 2006
+++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h Wed Feb 8 20:10:15 2006
@@ -1074,6 +1074,9 @@
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; }
More information about the llvm-commits
mailing list