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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to