diff options
author | Dan Gohman <gohman@apple.com> | 2008-09-16 20:45:53 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-09-16 20:45:53 +0000 |
commit | 5cf6120a7c7a92b4e47559157132070375891776 (patch) | |
tree | 8237ee86f906ed9e6772c3f342a6744039c7c34b /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | dc5f5cbe5939d47c5440280e63c1130f4459f750 (diff) | |
download | bcm5719-llvm-5cf6120a7c7a92b4e47559157132070375891776.tar.gz bcm5719-llvm-5cf6120a7c7a92b4e47559157132070375891776.zip |
Fix these comments to reflect current reality. Surprisingly,
MachineConstantPool::getConstantPoolIndex actually expects
a log2-encoded alignment.
llvm-svn: 56248
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineFunction.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index 5aade03031e..bbc69a96239 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/lib/CodeGen/MachineFunction.cpp @@ -479,7 +479,8 @@ MachineConstantPool::~MachineConstantPool() { } /// getConstantPoolIndex - Create a new entry in the constant pool or return -/// an existing one. User must specify an alignment in bytes for the object. +/// an existing one. User must specify the log2 of the minimum required +/// alignment for the object. /// unsigned MachineConstantPool::getConstantPoolIndex(Constant *C, unsigned Alignment) { |