11 lines
325 B
LLVM
11 lines
325 B
LLVM
; RUN: llc -mtriple=arc < %s | FileCheck %s
|
|
|
|
; Native atomics are unsupported, so all are oversize.
|
|
define void @test(ptr %a) nounwind {
|
|
; CHECK-LABEL: test:
|
|
; CHECK: bl @__atomic_load_1
|
|
; CHECK: bl @__atomic_store_1
|
|
%1 = load atomic i8, ptr %a seq_cst, align 16
|
|
store atomic i8 %1, ptr %a seq_cst, align 16
|
|
ret void
|
|
}
|