1 ; RUN: opt < %s -basicaa -gvn -S | grep load | count 1
3 @flag0 = internal global i32 zeroinitializer
4 @turn = internal global i32 zeroinitializer
9 %b = tail call i32 @llvm.atomic.swap.i32.p0i32(i32* @turn, i32 1)
14 declare i32 @llvm.atomic.swap.i32.p0i32(i32*, i32) nounwind