[LLVMbugs] [Bug 10556] New: [AVX] cannot select v4i64 = select error

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Aug 1 23:35:10 PDT 2011


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

           Summary: [AVX] cannot select v4i64 = 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


Created an attachment (id=6992)
 --> (http://llvm.org/bugs/attachment.cgi?id=6992)
test case

With TOT and the attached test case, running llc -mattr=+avx, I get the
following:


LLVM ERROR: Cannot select: 0x7f9d82835210: v4i64 = select 0x7f9d82834110,
0x7f9d82834710, 0x7f9d82834f10 [ID=14]
  0x7f9d82834110: i8 = X86ISD::SETCC 0x7f9d82834210, 0x7f9d82833d10 [ID=12]
    0x7f9d82834210: i8 = Constant<4> [ID=8]
    0x7f9d82833d10: i32 = X86ISD::CMP 0x7f9d82833a10, 0x7f9d82833b10 [ID=10]
      0x7f9d82833a10: i32 = undef [ORD=1] [ID=1]
      0x7f9d82833b10: i32 = Constant<255> [ORD=1] [ID=2]
  0x7f9d82834710: v4i64 = bitcast 0x7f9d82833f10 [ID=13]
    0x7f9d82833f10: v8i32 = BUILD_VECTOR 0x7f9d82833e10, 0x7f9d82833e10,
0x7f9d82833e10, 0x7f9d82833e10, 0x7f9d82833e10, 0x7f9d82833e10, 0x7f9d82833e10,
0x7f9d82833e10 [ORD=2] [ID=11]
      0x7f9d82833e10: i32 = Constant<0> [ORD=2] [ID=3]
      0x7f9d82833e10: i32 = Constant<0> [ORD=2] [ID=3]
      0x7f9d82833e10: i32 = Constant<0> [ORD=2] [ID=3]
      0x7f9d82833e10: i32 = Constant<0> [ORD=2] [ID=3]
      0x7f9d82833e10: i32 = Constant<0> [ORD=2] [ID=3]
      0x7f9d82833e10: i32 = Constant<0> [ORD=2] [ID=3]
      0x7f9d82833e10: i32 = Constant<0> [ORD=2] [ID=3]
      0x7f9d82833e10: i32 = Constant<0> [ORD=2] [ID=3]
  0x7f9d82834f10: v4i64 = undef [ID=7]

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