blob: c82c9af39f95753837d0b8318ac4147196acf0ef [file] [log] [blame]
Dan Gohman5bb7c7c2009-09-08 22:34:10 +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}