You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
18
external/llvm/test/CodeGen/ARM/atomic-cmp.ll
vendored
Normal file
18
external/llvm/test/CodeGen/ARM/atomic-cmp.ll
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
; RUN: llc < %s -mtriple=armv7-apple-darwin -verify-machineinstrs | FileCheck %s -check-prefix=ARM
|
||||
; RUN: llc < %s -mtriple=thumbv7-apple-darwin -verify-machineinstrs | FileCheck %s -check-prefix=T2
|
||||
; rdar://8964854
|
||||
|
||||
define i8 @t(i8* %a, i8 %b, i8 %c) nounwind {
|
||||
; ARM-LABEL: t:
|
||||
; ARM: ldrexb
|
||||
; ARM: strexb
|
||||
; ARM: clrex
|
||||
|
||||
; T2-LABEL: t:
|
||||
; T2: strexb
|
||||
; T2: ldrexb
|
||||
; T2: clrex
|
||||
%tmp0 = cmpxchg i8* %a, i8 %b, i8 %c monotonic monotonic
|
||||
%tmp1 = extractvalue { i8, i1 } %tmp0, 0
|
||||
ret i8 %tmp1
|
||||
}
|
Reference in New Issue
Block a user