YouCompleteMe/cpp/llvm/test/Transforms/GlobalOpt/atomic.ll

11 lines
244 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; 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
}