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/IA64 | |
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/IA64')
-rw-r--r-- | llvm/lib/Target/IA64/IA64ISelLowering.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/Target/IA64/IA64ISelLowering.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/IA64/IA64ISelLowering.cpp b/llvm/lib/Target/IA64/IA64ISelLowering.cpp index 0142a559132..f5e82a79a71 100644 --- a/llvm/lib/Target/IA64/IA64ISelLowering.cpp +++ b/llvm/lib/Target/IA64/IA64ISelLowering.cpp @@ -148,7 +148,7 @@ MVT IA64TargetLowering::getSetCCResultType(MVT VT) const { return MVT::i1; } -/// getFunctionAlignment - Return the function alignment. +/// getFunctionAlignment - Return the Log2 alignment of this function. unsigned IA64TargetLowering::getFunctionAlignment(const Function *) const { return 5; } diff --git a/llvm/lib/Target/IA64/IA64ISelLowering.h b/llvm/lib/Target/IA64/IA64ISelLowering.h index e586f7449b7..c552d13b766 100644 --- a/llvm/lib/Target/IA64/IA64ISelLowering.h +++ b/llvm/lib/Target/IA64/IA64ISelLowering.h @@ -70,7 +70,7 @@ namespace llvm { /// (currently, only "ret void") virtual SDValue LowerOperation(SDValue Op, SelectionDAG &DAG); - /// getFunctionAlignment - Return the function alignment. + /// getFunctionAlignment - Return the Log2 alignment of this function. virtual unsigned getFunctionAlignment(const Function *F) const; }; } |