Home | History | Annotate | Download | only in ARM
      1 ; RUN: llc < %s -mtriple=armv7-apple-ios -verify-machineinstrs
      2 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -verify-machineinstrs
      3 
      4 define void @f() {
      5   %a = alloca i8, i32 8, align 8
      6   %b = alloca i8, i32 8, align 8
      7 
      8   %c = bitcast i8* %a to i64*
      9   %d = bitcast i8* %b to i64*
     10 
     11   store atomic i64 0, i64* %c seq_cst, align 8
     12   store atomic i64 0, i64* %d seq_cst, align 8
     13 
     14   %e = load atomic i64, i64* %d seq_cst, align 8
     15 
     16   ret void
     17 }
     18