[LLVMbugs] [Bug 6204] New: crash legalizing vector select

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Feb 1 18:34:18 PST 2010


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

           Summary: crash legalizing vector select
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Keywords: compile-fail
          Severity: normal
          Priority: P2
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: clattner at apple.com
                CC: llvmbugs at cs.uiuc.edu


This testcase on x86:

define <4 x i32> @test(<4 x i32> %a, <4 x i32> %b, <4 x i1> %c) {  
  %d = select <4 x i1> %c, <4 x i32> %a, <4 x i32> %b
  ret <4 x i32> %d
}

Crashes with:

$ llc t.ll 
SplitVectorOperand Op #0: 0x2025950: v4i32 = select 0x20258cc, 0x202508c,
0x2025194 [ORD=1]
Do not know how to split this operator's operand!
UNREACHABLE executed at LegalizeVectorTypes.cpp:967!


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