https://bugs.llvm.org/show_bug.cgi?id=34139

            Bug ID: 34139
           Summary: [AVX512] LLVM ERROR: Cannot select: t54: v8f64 =
                    vselect t46, undef:v8f64, t17
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedb...@nondot.org
          Reporter: babo...@gmail.com
                CC: llvm-bugs@lists.llvm.org

clang version 6.0.0 (trunk 310421)

> cat bugpoint-reduced-simplified.ll
; ModuleID = 'bugpoint-reduced-simplified.bc'
source_filename = "bugpoint-output-19a0c4b.bc"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

; Function Attrs: nounwind
define void @f_f() #0 {
allocas:
  store <16 x i8> <i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8
-1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1>, <16 x i8>* undef
  %load_mask8.i.i.i = load <16 x i8>, <16 x i8>* undef
  %v.i.i.i.i = load <16 x double>, <16 x double>* undef
  %mask_vec_i1.i.i.i51.i.i = icmp ne <16 x i8> %load_mask8.i.i.i,
zeroinitializer
  %v1.i.i.i.i = select <16 x i1> %mask_vec_i1.i.i.i51.i.i, <16 x double> undef,
<16 x double> %v.i.i.i.i
  store <16 x double> %v1.i.i.i.i, <16 x double>* undef
  unreachable
}

attributes #0 = { nounwind }

!llvm.module.flags = !{!0}

!0 = !{i32 1, !"wchar_size", i32 4}


> llc -O2 -mcpu=knl bugpoint-reduced-simplified.bc
LLVM ERROR: Cannot select: t54: v8f64 = vselect t46, undef:v8f64, t17
  t46: v8i64 = bitcast t45
    t45: v16i32 = BUILD_VECTOR Constant:i32<-1>, Constant:i32<-1>,
Constant:i32<-1>, Constant:i32<-1>, Constant:i32<-1>, Constant:i32<-1>,
Constant:i32<-1>, Constant:i32<-1>, Constant:i32<-1>, Constant:i32<-1>,
Constant:i32<-1>, Constant:i32<-1>, Constant:i32<-1>, Constant:i32<-1>,
Constant:i32<-1>, Constant:i32<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
  t16: v8f64 = undef
  t17: v8f64,ch = load<LD64[undef(align=128)+64](align=64)> t49, undef:i64,
undef:i64
    t3: i64 = undef
    t3: i64 = undef
In function: f_f

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to