Sign in
ara-mdk
/
platform
/
external
/
llvm
/
d8bfde0c6a4fad3b8846af4e4d19d9a3cbbce0b2
/
.
/
test
/
Transforms
/
GlobalOpt
/
atomic.ll
blob: 4c3f4395a0ea01a51400a8974d71bdfff954bad4 [
file
] [
log
] [
blame
]
; RUN: opt -globalopt < %s -S -o - | FileCheck %s
@GV1
=
internal
global
i64
1
; CHECK: @GV1 = internal unnamed_addr constant i64 1
define
void
@test1
()
{
entry
:
%0
=
load
atomic
i8
*
bitcast
(
i64
*
@GV1
to
i8
*)
acquire
,
align
8
ret
void
}