mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-12 22:30:12 +00:00
b1e1e82c54
of using llvm-as, now that opt supports this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81226 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
332 B
LLVM
10 lines
332 B
LLVM
; RUN: opt %s -globalopt | llvm-dis | grep {volatile load}
|
|
@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]
|
|
%tmp4 = fmul double %tmp1, %tmp1 ; <double> [#uses=1]
|
|
ret double %tmp4
|
|
}
|