Cannot select X86ISD::VZEXT
| 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[
Fixed in r166947.