llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[AVX512] Cannot select: 0x7fd80b841b68: ch = store when returning <16 x i1> from function

Open llvmbot opened this issue 12 years ago • 1 comments

Bugzilla Link 20724
Resolution FIXED
Resolved on Apr 27, 2015 10:17
Version unspecified
OS All
Reporter LLVM Bugzilla Contributor
CC @delena

Extended Description

With top of tree and this program, I get the following crash:

; ModuleID = 'bugpoint-reduced-simplified.bc' target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-darwin13.3.0"

define <16 x i1> @​crashEven___(i16 %__mask) { allocas: ret <16 x i1> zeroinitializer }

% llc -mcpu=knl bugpoint-reduced-simplified.ll -filetype=asm -o - .section _TEXT,text,regular,pure_instructions .macosx_version_min 13, 3 LLVM ERROR: Cannot select: 0x7fd80b841b68: ch = store 0x7fd80b841640, 0x7fd80b841118, 0x7fd80b841538, 0x7fd80b841a60<ST2> [ORD=2] [ID=11] 0x7fd80b841118: v16i1 = BUILD_VECTOR 0x7fd80b841010, 0x7fd80b841010, 0x7fd80b841010, 0x7fd80b841010, 0x7fd80b841010, 0x7fd80b841010, 0x7fd80b841010, 0x7fd80b841010, 0x7fd80b841010, 0x7fd80b841010, 0x7fd80b841010, 0x7fd80b841010, 0x7fd80b841010, 0x7fd80b841010, 0x7fd80b841010, 0x7fd80b841010 [ORD=2] [ID=8] 0x7fd80b841010: i1 = TargetConstant<0> [ID=6] 0x7fd80b841010: i1 = TargetConstant<0> [ID=6] 0x7fd80b841010: i1 = TargetConstant<0> [ID=6] 0x7fd80b841010: i1 = TargetConstant<0> [ID=6] 0x7fd80b841010: i1 = TargetConstant<0> [ID=6] 0x7fd80b841010: i1 = TargetConstant<0> [ID=6] 0x7fd80b841010: i1 = TargetConstant<0> [ID=6] 0x7fd80b841010: i1 = TargetConstant<0> [ID=6] 0x7fd80b841010: i1 = TargetConstant<0> [ID=6] 0x7fd80b841010: i1 = TargetConstant<0> [ID=6] 0x7fd80b841010: i1 = TargetConstant<0> [ID=6] 0x7fd80b841010: i1 = TargetConstant<0> [ID=6] 0x7fd80b841010: i1 = TargetConstant<0> [ID=6] 0x7fd80b841010: i1 = TargetConstant<0> [ID=6] 0x7fd80b841010: i1 = TargetConstant<0> [ID=6] 0x7fd80b841010: i1 = TargetConstant<0> [ID=6] 0x7fd80b841538: i64 = Register %vreg3 [ID=3] 0x7fd80b841a60: i64 = undef [ID=4] In function: crashEven %

llvmbot avatar Aug 21 '14 19:08 llvmbot

I fixed the bug in 235889.

delena avatar Apr 27 '15 17:04 delena