aboutsummaryrefslogtreecommitdiff
path: root/include/llvm
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-02-28 22:31:51 +0000
committerDale Johannesen <dalej@apple.com>2008-02-28 22:31:51 +0000
commit28d08fdb9f6572cafd5aae95c7caffa3cd136d8e (patch)
tree9d15ac77d3540abe5a70a9c30e4d214486447f3c /include/llvm
parent63b8c1f6f118dfef44422283947bdc3388c0fcb4 (diff)
Interface of getByValTypeAlignment differed between
generic & x86 versions; change generic to follow x86 and improve comments. Add PPC version (not right for non-Darwin.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47734 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Target/TargetLowering.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index 4f04ce34fc..a3d24cc7b4 100644
--- a/include/llvm/Target/TargetLowering.h
+++ b/include/llvm/Target/TargetLowering.h
@@ -420,7 +420,8 @@ public:
}
/// getByValTypeAlignment - Return the desired alignment for ByVal aggregate
- /// function arguments in the caller parameter area.
+ /// function arguments in the caller parameter area. This is the actual
+ /// alignment, not its logarithm.
virtual unsigned getByValTypeAlignment(const Type *Ty) const;
/// getRegisterType - Return the type of registers that this ValueType will