[LLVMbugs] [Bug 2574] New: scalar_to_vector not selecting on x86 (-mcpu=core2) for v2f32

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Jul 21 14:18:05 PDT 2008


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

           Summary: scalar_to_vector not selecting on x86 (-mcpu=core2) for
                    v2f32
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sdt at rapidmind.com
                CC: llvmbugs at cs.uiuc.edu


Consider the following test case:

define void @entry(i32 %m_task_id, i32 %start_x, i32 %end_x) {
; <label>:0
        br i1 false, label %bb.nph, label %._crit_edge

bb.nph:         ; preds = %bb.nph, %0
        %t2206f2.0 = phi <2 x float> [ %2, %bb.nph ], [ undef, %0 ]            
; <<2 x float>> [#uses=1]
        insertelement <2 x float> %t2206f2.0, float 0.000000e+00, i32 0        
; <<2 x float>>:1 [#uses=1]
        insertelement <2 x float> %1, float 0.000000e+00, i32 1         ; <<2 x
float>>:2 [#uses=1]
        br label %bb.nph

._crit_edge:            ; preds = %0
        ret void
}


Running llc -mcpu=core2 on this produces:
Cannot yet select: 0x8b0471c: v2f32 = scalar_to_vector 0x8b049c4

This is a regression since 2.3.


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