[LLVMbugs] [Bug 2647] extractps selected too eagerly

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Oct 30 18:25:11 PDT 2008


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


Dan Gohman <gohman at apple.com> changed:

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




--- Comment #9 from Dan Gohman <gohman at apple.com>  2008-10-30 20:25:10 ---
With this commit:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20081027/069165.html
codegen avoids selecting extractps for a store of element 0, and uses movss
instead.
The provided testcase now compiles to three instructions even with
-mcpu=penryn.

The extra setup is a known issue.  The code that decides if stack-pointer
alignment
is necessary is over-conservative in some cases. See
lib/Target/X86/README-SSE.txt,
the entry starting with "LLVM currently generates stack realignment code".

Thanks!


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