[LLVMbugs] [Bug 8958] New: Hit assertion in SelectionDAG.cpp for the attached code

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jan 11 09:28:21 PST 2011


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

           Summary: Hit assertion in SelectionDAG.cpp for the attached
                    code
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nadav.rotem at intel.com
                CC: llvmbugs at cs.uiuc.edu


Assertion failed: !VT.isVector() && "getZeroExtendInReg should use the vector
element type instead of " "the vector type!", file
..\..\..\..\..\llvm\lib\CodeGen\SelectionDAG\SelectionDAG.cpp, line 855

Checked on today's trunk.

; ModuleID = 'bugpoint-reduced-simplified.bc'
target datalayout =
"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f80:128:128-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32"
target triple = "i686-pc-win32"

define void @m_387() nounwind {
  %1 = load <4 x i8> addrspace(1)* undef, align 1
  %2 = zext <4 x i8> %1 to <4 x i32>
  store <4 x i32> %2, <4 x i32> addrspace(1)* undef, align 4
  ret void
}


Fix forthcoming.

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