mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
504105c02c
llvm-svn: 267493
11 lines
349 B
LLVM
11 lines
349 B
LLVM
; RUN: opt < %s -globalopt -S | FileCheck %s
|
|
; CHECK: load volatile
|
|
@t0.1441 = internal global double 0x3FD5555555555555, align 8 ; <double*> [#uses=1]
|
|
|
|
define double @foo() nounwind {
|
|
entry:
|
|
%tmp1 = load volatile double, double* @t0.1441, align 8 ; <double> [#uses=2]
|
|
%tmp4 = fmul double %tmp1, %tmp1 ; <double> [#uses=1]
|
|
ret double %tmp4
|
|
}
|