2009-09-09 06:34:10 +08:00
|
|
|
; RUN: opt %s -globalopt -S | grep {volatile load}
|
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
|
|
|
|
}
|