Delete useless trailing semicolons.
[oota-llvm.git] / test / Transforms / InstCombine / load3.ll
1 ; RUN: opt < %s -instcombine -S | grep load | count 1
2
3 ; Instcombine should be able to do trivial CSE of loads.
4
5 declare void @use(double %n)
6 define void @bar(double* %p) {
7   %t0 = getelementptr double* %p, i32 1
8   %y = load double* %t0
9   %t1 = getelementptr double* %p, i32 1
10   %x = load double* %t1
11   call void @use(double %x)
12   call void @use(double %y)
13   ret void
14 }