[LLVMbugs] [Bug 10500] New: [x86/AVX CodeGen] Cannot select v8f32 = bitcast

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jul 26 08:23:28 PDT 2011


           Summary: [x86/AVX CodeGen]  Cannot select v8f32 = bitcast
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: syoyofujita at gmail.com
                CC: llvmbugs at cs.uiuc.edu

Revision: 136074

Following .ll for x86/AVX target produce these error:

LLVM ERROR: Cannot select: 0x3beca00: v8f32 = bitcast 0x3bec900 [ORD=1] [ID=9]
  0x3bec900: v8i32,ch = CopyFromReg 0x3bc37a8, 0x3bec800 [ORD=1] [ID=7]
    0x3bec800: v8i32 = Register %vreg1 [ORD=1] [ID=1]

; ModuleID = 'bugpoint-reduced-simplified.bc'
target datalayout =
target triple = "x86_64-unknown-linux-gnu"

declare <8 x float> @llvm.x86.avx.blendv.ps.256(<8 x float>, <8 x float>, <8 x
float>) nounwind readnone

define void @"ao_scanlines___UiUiUiUiUiREFUf[]"(<8 x i32> %__mask) nounwind {
  %floatmask.i = bitcast <8 x i32> %__mask to <8 x float>
  br i1 undef, label %cif_test_all, label %__gather_base_offsets_i32.exit30803

cif_test_all:                                     ; preds = %allocas

__gather_base_offsets_i32.exit30803:              ; preds = %allocas
  %blend.i31259 = call <8 x float> @llvm.x86.avx.blendv.ps.256(<8 x float>
undef, <8 x float> undef, <8 x float> %floatmask.i) nounwind

FYI, original input code is grabbed from ispc's aobench

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