Xamarin Public Jenkins (auto-signing) 279aa8f685 Imported Upstream version 5.18.0.246
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
2019-01-23 08:21:40 +00:00

16 lines
334 B
LLVM

; RUN: llc < %s -O0 -mtriple=x86_64--
; rdar://8204072
; PR7652
@sc = external global i8
@uc = external global i8
define void @test_fetch_and_op() nounwind {
entry:
%tmp40 = atomicrmw and i8* @sc, i8 11 monotonic
store i8 %tmp40, i8* @sc
%tmp41 = atomicrmw and i8* @uc, i8 11 monotonic
store i8 %tmp41, i8* @uc
ret void
}