1 ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep load | count 1
3 ; Instcombine should be able to do trivial CSE of loads.
5 declare void @use(double %n)
6 define void @bar(double* %p) {
7 %t0 = getelementptr double* %p, i32 1
9 %t1 = getelementptr double* %p, i32 1
11 call void @use(double %x)
12 call void @use(double %y)