view test/CodeGen/X86/fast-isel-atomic.ll @ 33:e4204d083e25

LLVM 3.5
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 14:32:10 +0900
parents 95c75e76d11b
children 803732b1fca8
line wrap: on
line source

; RUN: llc < %s -O0 -march=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
}