[X86] Don't pass a scale value of 0 to scatter/gather intrinsics. This causes the...
[oota-llvm.git] / test / CodeGen / X86 / 2012-07-16-LeaUndef.ll
1 ; RUN: llc < %s -march=x86-64 -mcpu=corei7
2
3 define void @autogen_SD2543() {
4 A:
5   %E83 = add i32 0, 1
6   %E820 = add i32 0, undef
7   br label %C
8 C:
9   %B908 = add i32 %E83, %E820
10   store i32 %B908, i32* undef
11   %Sl2391 = select i1 undef, i32 undef, i32 %E83
12   %Cmp3114 = icmp ne i32 %Sl2391, undef
13   br i1 %Cmp3114, label %C, label %G
14 G:
15   ret void
16 }