[LLVMbugs] [Bug 14760] New: DAGCombiner generates illegal vector INT_TO_FP nodes

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Dec 31 09:27:16 PST 2012


             Bug #: 14760
           Summary: DAGCombiner generates illegal vector INT_TO_FP nodes
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: tstellar at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 9779
  --> http://llvm.org/bugs/attachment.cgi?id=9779
Proposed fix

DAGCombiner::reduceBuildVecConvertToConvertBuildVec() does not correctly check
the legality of vector INT_TO_FP and UINT_TO_FP operations.  The attached patch
fixes the bug, but breaks the X86/cvtv2f32.ll test, which probably relies on
incorrect behavior somehow.

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