[LLVMbugs] [Bug 6275] X86FastISel(llc -O0) does not handle calling dllimport functions properly

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Feb 20 21:58:39 PST 2011


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

NAKAMURA Takumi <geek4civic at gmail.com> changed:

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

--- Comment #9 from NAKAMURA Takumi <geek4civic at gmail.com> 2011-02-20 23:58:38 CST ---
Fixed in r126110.

        .def     _bar;
        .scl    2;
        .type   32;
        .endef
        .text
        .globl  _bar
        .align  16, 0x90
_bar:                                   # @bar
# BB#0:                                 # %entry
        pushl   %eax
        movl    %esp, %eax
        movl    $0, (%eax)
        movl    __imp__foo, %eax
        calll   *%eax
        popl    %eax
        ret

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