2011-08-13 06:50:01 +08:00
|
|
|
; RUN: opt < %s -globalopt -S | grep {load volatile}
|
2008-01-30 03:01:37 +08:00
|
|
|
@t0.1441 = internal global double 0x3FD5555555555555, align 8 ; <double*> [#uses=1]
|
|
|
|
|
|
|
|
define double @foo() nounwind {
|
|
|
|
entry:
|
|
|
|
%tmp1 = volatile load double* @t0.1441, align 8 ; <double> [#uses=2]
|
2009-06-05 06:49:04 +08:00
|
|
|
%tmp4 = fmul double %tmp1, %tmp1 ; <double> [#uses=1]
|
2008-01-30 03:01:37 +08:00
|
|
|
ret double %tmp4
|
|
|
|
}
|