[LLVMbugs] [Bug 10452] New: [AVX] "cannot select" BUILD_VECTOR error

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Jul 23 03:04:20 PDT 2011


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

           Summary: [AVX] "cannot select" BUILD_VECTOR 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


Here's another AVX case..  Given:

define void @f_f([0 x float]* nocapture %RET, [0 x float]* nocapture %aFOO)
nounwind {
allocas:
  %ptr2vec615 = bitcast [0 x float]* %RET to <8 x float>*
  store <8 x float> <float 0xFFFFFFFFE0000000, float 0xFFFFFFFFE0000000, float
0xFFFFFFFFE0000000, float 0xFFFFFFFFE0000000, float 0xFFFFFFFFE0000000, float
0xFFFFFFFFE0000000, float 0xFFFFFFFFE0000000, float 0xFFFFFFFFE0000000>, <8 x
float>* %ptr2vec615, align 32
  ret void
}

If I run:

% llc bug.ll -o - -mcpu=corei7-avx -mattr=+avx

I get the following error:

LLVM ERROR: Cannot select: 0x7f953c032110: v8i32 = BUILD_VECTOR 0x7f953c032010,
0x7f953c032010, 0x7f953c032010, 0x7f953c032010, 0x7f953c032010, 0x7f953c032010,
0x7f953c032010, 0x7f953c032010 [ID=6]
  0x7f953c032010: i32 = TargetConstant<-1> [ID=4]
  0x7f953c032010: i32 = TargetConstant<-1> [ID=4]
  0x7f953c032010: i32 = TargetConstant<-1> [ID=4]
  0x7f953c032010: i32 = TargetConstant<-1> [ID=4]
  0x7f953c032010: i32 = TargetConstant<-1> [ID=4]
  0x7f953c032010: i32 = TargetConstant<-1> [ID=4]
  0x7f953c032010: i32 = TargetConstant<-1> [ID=4]
  0x7f953c032010: i32 = TargetConstant<-1> [ID=4]

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