Mercurial > hg > CbC > CbC_llvm
view test/Bitcode/cmpxchg.3.6.ll @ 115:95b91bc9a2f8
cleanupflag
author | mir3636 |
---|---|
date | Fri, 05 Aug 2016 19:04:52 +0900 |
parents | afa8332a0e37 |
children |
line wrap: on
line source
; RUN: llvm-dis < %s.bc | FileCheck %s define void @f2(i32* %x, i32 %y.orig, i32 %z) { entry: br label %a b: cmpxchg i32* %x, i32 %y, i32 %z acquire acquire ; CHECK: cmpxchg i32* %x, i32 %y, i32 %z acquire acquire ret void a: %y = add i32 %y.orig, 1 br label %a }