blob: a6803abc5d360fb2d5aa22836adc59439089735e [file] [log] [blame]
Eli Friedmanf03bb262011-08-12 22:50:01 +00001; RUN: opt < %s -globalopt -S | grep {load volatile}
Chris Lattnerc69d3c92008-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 Gohmanae3a0be2009-06-04 22:49:04 +00007 %tmp4 = fmul double %tmp1, %tmp1 ; <double> [#uses=1]
Chris Lattnerc69d3c92008-01-29 19:01:37 +00008 ret double %tmp4
9}