This is slightly contentious, but, if llvm has gone to addressable

units, we should as well.  The problem is the non-predictability of
the dimension of the values.  I'd love for the dimension to be part of
the static type system...  but in C++ it is kinda annoying to do.

llvm-svn: 83345
This commit is contained in:
Mike Stump 2009-10-05 23:40:59 +00:00
parent 4c420eca41
commit 4348c565ad
1 changed files with 1 additions and 0 deletions

View File

@ -185,6 +185,7 @@ class AlignedAttr : public Attr {
public:
AlignedAttr(unsigned alignment) : Attr(Aligned), Alignment(alignment) {}
// FIXME: Should use addressable units, not bits, to match llvm
/// getAlignment - The specified alignment in bits.
unsigned getAlignment() const { return Alignment; }