Merging r258616:
[oota-llvm.git] / test / Transforms / GlobalOpt / 2008-01-29-VolatileGlobal.ll
1 ; RUN: opt < %s -globalopt -S | grep "load volatile"
2 @t0.1441 = internal global double 0x3FD5555555555555, align 8           ; <double*> [#uses=1]
3
4 define double @foo() nounwind  {
5 entry:
6         %tmp1 = load volatile double, double* @t0.1441, align 8         ; <double> [#uses=2]
7         %tmp4 = fmul double %tmp1, %tmp1                ; <double> [#uses=1]
8         ret double %tmp4
9 }