diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-07-01 18:50:55 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-07-01 18:50:55 +0000 |
commit | 512ff7353e9bc7af72921b7713a5c0bb53a889d6 (patch) | |
tree | a586cc4cfbd06296df0338b5ae10e89fb46f301e /llvm/lib/Target/XCore/XCoreISelLowering.cpp | |
parent | 246676db7d4ee790e57180179ef756955071336e (diff) | |
download | bcm5719-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/XCore/XCoreISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/XCore/XCoreISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/XCore/XCoreISelLowering.cpp b/llvm/lib/Target/XCore/XCoreISelLowering.cpp index 0b65ceee60a..cc11d324813 100644 --- a/llvm/lib/Target/XCore/XCoreISelLowering.cpp +++ b/llvm/lib/Target/XCore/XCoreISelLowering.cpp @@ -187,7 +187,7 @@ void XCoreTargetLowering::ReplaceNodeResults(SDNode *N, } } -/// getFunctionAlignment - Return the alignment of this function. +/// getFunctionAlignment - Return the Log2 alignment of this function. unsigned XCoreTargetLowering:: getFunctionAlignment(const Function *) const { return 1; |