[LLVMbugs] [Bug 10501] New: [x86/AVX CodeGen] Cannot select v8i32 = BUILD_VECTOR

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jul 26 08:47:53 PDT 2011


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

           Summary: [x86/AVX CodeGen]  Cannot select v8i32 = BUILD_VECTOR
           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

With following .ll, llc -mattr=+avx reports these error:

LLVM ERROR: Cannot select: 0x3acb010: v8i32 = BUILD_VECTOR 0x3acaf10,
0x3acaf10, 0x3acaf10, 0x3acaf10, 0x3acaf10, 0x3acaf10, 0x3acaf10, 0x3acaf10
[ID=4]
  0x3acaf10: i32 = TargetConstant<-1> [ID=3]
  0x3acaf10: i32 = TargetConstant<-1> [ID=3]
  0x3acaf10: i32 = TargetConstant<-1> [ID=3]
  0x3acaf10: i32 = TargetConstant<-1> [ID=3]
  0x3acaf10: i32 = TargetConstant<-1> [ID=3]
  0x3acaf10: i32 = TargetConstant<-1> [ID=3]
  0x3acaf10: i32 = TargetConstant<-1> [ID=3]
  0x3acaf10: i32 = TargetConstant<-1> [ID=3]


; ModuleID = 'bugpoint-reduced-simplified.bc'
target datalayout =
"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
target triple = "x86_64-unknown-linux-gnu"

define void @mandelbrot_ispc() nounwind {
allocas:
  br i1 undef, label %for_test40.preheader.lr.ph, label %for_exit

for_test40.preheader.lr.ph:                       ; preds = %allocas
  br label %for_loop.i.lr.ph

for_exit:                                         ; preds = %allocas
  ret void

for_loop.i.lr.ph:                                 ; preds = %mandel___ffi.exit,
%for_test40.preheader.lr.ph
  br label %for_loop.i

for_loop.i:                                       ; preds = %for_loop.i,
%for_loop.i.lr.ph
  br i1 undef, label %mandel___ffi.exit, label %for_loop.i

mandel___ffi.exit:                                ; preds = %for_loop.i
  store <8 x float> <float 0xFFFFFFFFE0000000, float 0xFFFFFFFFE0000000, float
0xFFFFFFFFE0000000, float 0xFFFFFFFFE0000000, float 0xFFFFFFFFE0000000, float
0xFFFFFFFFE0000000, float 0xFFFFFFFFE0000000, float 0xFFFFFFFFE0000000>, <8 x
float>* undef, align 32
  br label %for_loop.i.lr.ph
}

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