[X86] Don't pass a scale value of 0 to scatter/gather intrinsics. This causes the...
[oota-llvm.git] / test / CodeGen / X86 / 2007-08-01-LiveVariablesBug.ll
1 ; RUN: llc < %s -march=x86 | FileCheck %s
2
3 ; CHECK-NOT: movl
4
5 define zeroext i8 @t(i8 zeroext  %x, i8 zeroext  %y)   {
6         %tmp2 = add i8 %x, 2
7         %tmp4 = add i8 %y, -2
8         %tmp5 = mul i8 %tmp4, %tmp2
9         ret i8 %tmp5
10 }