1 ; RUN: llvm-as < %s | opt -dse -scalarrepl -instcombine | llvm-dis | not grep 'ret int undef'
3 int %test(double %__x) {
4 %__u = alloca { [3 x int] }
5 %tmp.1 = cast { [3 x int] }* %__u to double*
6 store double %__x, double* %tmp.1
7 %tmp.4 = getelementptr { [3 x int] }* %__u, int 0, uint 0, int 1
8 %tmp.5 = load int* %tmp.4
9 %tmp.6 = setlt int %tmp.5, 0
10 %tmp.7 = cast bool %tmp.6 to int