[LLVMbugs] [Bug 10048] llc 2.9 doesn't care of packed attribute to generate code for x86 target

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue May 31 05:33:33 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=10048

Duncan Sands <baldrick at free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID

--- Comment #8 from Duncan Sands <baldrick at free.fr> 2011-05-31 07:33:33 CDT ---
But %x is still aligned on a 16 byte boundary!  After all, the function's stack
is 16 byte aligned, and %x is in essence the first stack variable.  Try
changing
the prototype of foo1 as follows to ensure that %x is not the first thing on
the
stack:

define void @foo1(i8* byval %z, %struct.sType.alt* byval %x) {

All the movaps go away.

-- 
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