[LLVMbugs] [Bug 546] NEW: LLVM should support alignment for alloca/SIMD/etc

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Apr 12 18:54:10 PDT 2005


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=546

           Summary: LLVM should support alignment for alloca/SIMD/etc
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: duraid at octopus.com.au


On ia64, most C++ programs currently fail, for both the C and native back-ends. 
This is because calls to setjmp are made where the argument=8 (mod 16). This is
illegal and gets you a bus error. On ia64, /usr/include/bits/setjmp.h has:

typedef long __jmp_buf[_JBLEN] __attribute__ ((aligned (16))); /* guarantees
128-bit alignment! */

but LLVM doesn't preserve such alignment.



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