llvm/llvm/test/CodeGen/SystemZ/atomic-store-07.ll

; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 4
; Test double atomic stores.
;
; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s

define void @f1(ptr %dst, double %val) {
; CHECK-LABEL: f1:
; CHECK:       # %bb.0:
; CHECK-NEXT:    std %f0, 0(%r2)
; CHECK-NEXT:    bcr 15, %r0
; CHECK-NEXT:    br %r14
  store atomic double %val, ptr %dst seq_cst, align 8
  ret void
}