[LLVMbugs] [Bug 400] NEW: Add support to LLVM for alignment specification of memory objects
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Jul 6 19:34:56 PDT 2004
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=400
Summary: Add support to LLVM for alignment specification of
memory objects
Product: libraries
Version: 1.0
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Core LLVM classes
AssignedTo: unassignedbugs at nondot.org
ReportedBy: sabre at nondot.org
Also, the alloca and malloc instructions should take an optional alignment
argument, and GlobalValues should allow an explicit alignment constraint to be set.
For malloc, this allows us to represent valloc and memalign directly
in LLVM. For alloca, it allows us to support the alignment attributes in the
GCC front-end directly. Global variables should also be extended to support
alignment attributes. This will be required for vectorization work.
If an alignment is specified as zero, the default, then that means we should
follow the target alignment settings. This should be _by far_ the most common
setting, so we should not even bother encoding this argument into the bytecode
file unless it is nonzero.
This was originally a comment in Bug 122, but it should be it's own bug, so I'm
splitting it out.
-Chris
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list