blob: 0c817005c273739546e17faeba7b0171f413897a [file] [log] [blame]
Dan Gohman3c7d3082009-09-11 18:01:28 +00001; RUN: opt < %s -globalopt -S | grep {volatile load}
Chris Lattner75a2db82008-01-29 19:01:37 +00002@t0.1441 = internal global double 0x3FD5555555555555, align 8 ; <double*> [#uses=1]
3
4define double @foo() nounwind {
5entry:
6 %tmp1 = volatile load double* @t0.1441, align 8 ; <double> [#uses=2]
Dan Gohman7ce405e2009-06-04 22:49:04 +00007 %tmp4 = fmul double %tmp1, %tmp1 ; <double> [#uses=1]
Chris Lattner75a2db82008-01-29 19:01:37 +00008 ret double %tmp4
9}