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

Cannot select X86ISD::VZEXT

Open llvmbot opened this issue 14 years ago • 1 comments

Bugzilla Link 14204
Resolution FIXED
Resolved on Oct 29, 2012 12:57
Version trunk
OS All
Reporter LLVM Bugzilla Contributor
CC @darkbuck

Extended Description

Compiling the following:

define <8 x i32> @​foo(<8 x i1> %bar) nounwind readnone { entry: %s = sext <8 x i1> %bar to <8 x i32> ret <8 x i32> %s }

With llc +mattr=avx2, the result is:

LLVM ERROR: Cannot select: 0xb2c250: v8i32 = X86ISD::VZEXT 0xb2cc50 [ID=12] 0xb2cc50: v16i16 = insert_subvector 0xb2ee50, 0xb2eb50, 0xb2f150 [ID=11] 0xb2ee50: v16i16 = undef [ID=6] 0xb2eb50: v8i16 = bitcast 0xb2cb50 [ID=10] 0xb2cb50: v2i64,ch = load 0xaf8de0, 0xb2bf50, 0xb2c050<LD16[]> [ID=9] 0xb2bf50: i64,ch = CopyFromReg 0xaf8de0, 0xb2be50 [ORD=1] [ID=8] 0xb2be50: i64 = Register %vreg0 [ORD=1] [ID=1] 0xb2c050: i64 = undef [ORD=1] [ID=2] 0xb2f150: i64 = Constant<0> [ID=7]

llvmbot avatar Oct 29 '12 18:10 llvmbot

Fixed in r166947.

darkbuck avatar Oct 29 '12 19:10 darkbuck