mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
@@ -103,7 +103,7 @@ namespace llvm {
|
||||
|
||||
virtual bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const;
|
||||
|
||||
/// getFunctionAlignment - Return the function alignment.
|
||||
/// getFunctionAlignment - Return the Log2 alignment of this function.
|
||||
virtual unsigned getFunctionAlignment(const Function *F) const;
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user