[LLVMbugs] [Bug 11398] New: Incorrect generation of movapd for unaligned load

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Nov 17 19:45:36 PST 2011


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

             Bug #: 11398
           Summary: Incorrect generation of movapd for unaligned load
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: hfinkel at anl.gov
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 7624
  --> http://llvm.org/bugs/attachment.cgi?id=7624
Example

For x86_64, an instruction like:

%0 = load <2 x double>* %whatever, align 8, !tbaa !0

can get assembled into a movapd instruction (using trunk r144649). This,
however, causes a segmentation fault because movapd requires aligned data. I've
attached an example file that suffers from this problem (see the very first
instruction in the main function).

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