Fix a broadcast related regression on the vector shuffle lowering.
[oota-llvm.git] / test / CodeGen / X86 / sext-trunc.ll
1 ; RUN: llc < %s -march=x86 > %t
2 ; RUN: grep movsbl %t
3 ; RUN: not grep movz %t
4 ; RUN: not grep and %t
5
6 define signext  i8 @foo(i16 signext  %x) nounwind  {
7         %retval56 = trunc i16 %x to i8
8         ret i8 %retval56
9 }