blob: 91c551808eb79509d3d0b6465ee225d93178413f [file] [log] [blame]
; RUN: llc < %s -mtriple=armv7-apple-ios -verify-machineinstrs
; RUN: llc < %s -mtriple=armv7-linux-gnueabi -verify-machineinstrs
define void @f() {
%a = alloca i8, i32 8, align 8
%b = alloca i8, i32 8, align 8
store atomic i64 0, ptr %a seq_cst, align 8
store atomic i64 0, ptr %b seq_cst, align 8
%e = load atomic i64, ptr %b seq_cst, align 8
ret void
}