1 ; RUN: llc < %s -mtriple=x86_64-linux-pc -mcpu=core-avx2 | FileCheck %s 2 3 ; FIXME: vpmovsxwd should be generated instead of vpmovzxwd followed by 4 ; SLL/SRA. 5 6 define <8 x i32> @foo(<8 x i1> %bar) nounwind readnone { 7 entry: 8 %s = sext <8 x i1> %bar to <8 x i32> 9 ret <8 x i32> %s 10 ; CHECK: foo 11 ; CHECK: vpmovzxwd 12 ; CHECK: vpslld 13 ; CHECK: vpsrad 14 ; CHECK: ret 15 } 16