[LLVMbugs] [Bug 6129] New: Explicit alignment not respected by PowerPC backend
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sat Jan 23 22:00:12 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=6129
Summary: Explicit alignment not respected by PowerPC backend
Product: libraries
Version: trunk
Platform: Other
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P2
Component: Backend: PowerPC
AssignedTo: unassignedbugs at nondot.org
ReportedBy: whitehorn at wisc.edu
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=4103)
--> (http://llvm.org/bugs/attachment.cgi?id=4103)
Test case
Compiling the attached test program with LLVM/clang results in bar, explicitly
marked for 128 byte alignment, not ending up 128-byte aligned.
Output on x86:
bar: 0x600a80
bar % 128: 0
Output on PowerPC:
bar: 0x1810870
bar % 128: 112
Output on PowerPC when compiled with gcc:
bar: 0x1810a80
bar % 128: 0
Declaration of bar from the produced LLVM IR:
@bar = common global [75 x i8] zeroinitializer, align 128 ; <[75 x i8]*>
[#uses=
2]
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list