[LLVMbugs] [Bug 10440] New: [AVX] 8-wide bitcast hits "cannot select" error

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jul 22 04:18:34 PDT 2011


           Summary: [AVX] 8-wide bitcast hits "cannot select" error
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: matt at pharr.org
                CC: llvmbugs at cs.uiuc.edu

(I know that AVX is a work-in-progress, but am assuming that bug reports don't

If I run this:

define <8 x i32> @f_f(<8 x float> %x) nounwind {
  %xx = bitcast <8 x float> %x to <8 x i32>
  ret <8 x i32> %xx

through "llc bug.ll -mcpu=corei7-avx -mattr=+avx",

then the following error is emitted:

LLVM ERROR: Cannot select: 0x103039610: v8i32 = bitcast 0x103039510 [ORD=1]
  0x103039510: v8f32,ch = CopyFromReg 0x10291e538, 0x103039410 [ORD=1] [ID=4]
    0x103039410: v8f32 = Register %vreg0 [ORD=1] [ID=1]

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