[LLVMbugs] [Bug 11798] New: FastISel does not setCallsExternalVAFunctionWithFloatingPointArguments or emit '_fltused' on win32

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jan 18 21:22:52 PST 2012


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

             Bug #: 11798
           Summary: FastISel does not
                    setCallsExternalVAFunctionWithFloatingPointArguments
                    or emit '_fltused' on win32
           Product: new-bugs
           Version: 3.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: arcata at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


When fast isel is used, the MMI
setCallsExternalVAFunctionWithFloatingPointArguments flag does not get set when
variadic functions are called with floating-point arguments, so the _fltused
symbol required by MSVC's linker to enable floating-point support does not get
emitted. This can be observed by adding the following RUN: lines to
test/CodeGen/X86/fltused.ll:

; RUN: llc < %s -fast-isel-verbose -O0 -mtriple i686-pc-win32 | FileCheck %s
--check-prefix WIN32
; RUN: llc < %s -fast-isel-verbose -O0 -mtriple x86_64-pc-win32 | FileCheck %s
--check-prefix WIN64

The addition of -O0 causes the test to fail for i686-pc-win32.

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