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


Chris Lattner <[EMAIL PROTECTED]> changed:

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




--- Comment #5 from Chris Lattner <[EMAIL PROTECTED]>  2008-04-10 00:38:34 ---
Here is a reduced testcase:

define fastcc double @doload64(i64 %x) nounwind  {
entry:
        %tmp717 = bitcast i64 %x to double              ; <double> [#uses=1]
        ret double %tmp717
}

compiles to:

_doload64:
        subl    $12, %esp
        movl    20(%esp), %eax
        movl    %eax, 4(%esp)
        movl    16(%esp), %eax
        movl    %eax, (%esp)
        movsd   (%esp), %xmm0
        addl    $12, %esp
        ret

I moved this to the X86 readme for the x86-32 piece.  The x86-64 piece is
fixed:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20080407/060905.html

-Chris


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