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

             Bug #: 13503
           Summary: x86 AVX instruction was generated but stack object
                    pointer is not 16/32 byte aligned.
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Created attachment 8978
  --> http://llvm.org/bugs/attachment.cgi?id=8978
IR file

Hi all,

Thanks for your attention.

Attachments is a bit long to describe this,

in short,

1. In LLVM IR, I used float vector as value form but not stack object.

2. Native instruction
009801D1 vmovdqa xmm3,xmmword ptr [esp+40h]  was generated.

3. But the prologue of this frame is:

00980020  push        ebp  
00980021  mov         ebp,esp  
00980023  push        ebx  
00980024  push        edi  
00980025  push        esi  
00980026  and         esp,0FFFFFFF8h  
0098002C  sub         esp,68h  

It just 8-aligned. I don't know why analysis code did not calculate right align
data, but correct stack frame offset.

Thank you.

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