Skip to content

[AVX512] LLVM ERROR: Cannot select: t54: v8f64 = vselect t46, undef:v8f64, t17 #33486

@dbabokin

Description

@dbabokin
Bugzilla Link 34139
Resolution FIXED
Resolved on Aug 23, 2017 13:04
Version trunk
OS All
Blocks #33196
Attachments reproducer before test case reduction
CC @dbabokin,@topperc,@Delena,@zmodem,@igor-breger,@RKSimon,@JonPsson,@ZviRackover

Extended Description

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<LD64undef(align=128)+64> t49, undef:i64, undef:i64
t3: i64 = undef
t3: i64 = undef
In function: f_f

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions