summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/SparcISelLowering.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
commit512ff7353e9bc7af72921b7713a5c0bb53a889d6 (patch)
treea586cc4cfbd06296df0338b5ae10e89fb46f301e /llvm/lib/Target/Sparc/SparcISelLowering.cpp
parent246676db7d4ee790e57180179ef756955071336e (diff)
downloadbcm5719-llvm-512ff7353e9bc7af72921b7713a5c0bb53a889d6.tar.gz
bcm5719-llvm-512ff7353e9bc7af72921b7713a5c0bb53a889d6.zip
Update comments to make it clear that the function alignment is the Log2 of the
bytes and not bytes. llvm-svn: 74624
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcISelLowering.cpp')
-rw-r--r--llvm/lib/Target/Sparc/SparcISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Sparc/SparcISelLowering.cpp b/llvm/lib/Target/Sparc/SparcISelLowering.cpp
index 70096490d35..4c3efde36fe 100644
--- a/llvm/lib/Target/Sparc/SparcISelLowering.cpp
+++ b/llvm/lib/Target/Sparc/SparcISelLowering.cpp
@@ -1048,7 +1048,7 @@ SparcTargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const {
return false;
}
-/// getFunctionAlignment - Return the function alignment.
+/// getFunctionAlignment - Return the Log2 alignment of this function.
unsigned SparcTargetLowering::getFunctionAlignment(const Function *) const {
return 4;
}
OpenPOWER on IntegriCloud