aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Alpha/AlphaISelLowering.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-07-01 18:50:55 +0000
committerBill Wendling <isanbard@gmail.com>2009-07-01 18:50:55 +0000
commitb4202b84d7e54efe5e144885c7da63e6cc465f80 (patch)
treed357bd5bdf353f4b9eb6ba50c249bb12c5cf5229 /lib/Target/Alpha/AlphaISelLowering.cpp
parent342a343a570a8e6c80ce11ecb9df7bc65c315975 (diff)
Update comments to make it clear that the function alignment is the Log2 of the
bytes and not bytes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74624 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaISelLowering.cpp')
-rw-r--r--lib/Target/Alpha/AlphaISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Alpha/AlphaISelLowering.cpp b/lib/Target/Alpha/AlphaISelLowering.cpp
index b70c2aca57..7a8837cbb3 100644
--- a/lib/Target/Alpha/AlphaISelLowering.cpp
+++ b/lib/Target/Alpha/AlphaISelLowering.cpp
@@ -181,7 +181,7 @@ const char *AlphaTargetLowering::getTargetNodeName(unsigned Opcode) const {
}
}
-/// getFunctionAlignment - Return the function alignment.
+/// getFunctionAlignment - Return the Log2 alignment of this function.
unsigned AlphaTargetLowering::getFunctionAlignment(const Function *F) const {
return 4;
}