1 ; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine -mem2reg | llvm-dis | \
2 ; RUN: not grep {int 1}
4 ; When propagating the load through the select, make sure that the load is
5 ; inserted where the original load was, not where the select is. Not doing
6 ; so could produce incorrect results!
16 %Y = select bool %C, int* %X, int* %X2