Home | History | Annotate | Download | only in SystemZ
      1 ; Test 16-bit atomic loads.
      2 ;
      3 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
      4 
      5 ; This is just a placeholder to make sure that loads are handled.
      6 ; The CS-based sequence is probably far too conservative.
      7 define i16 @f1(i16 *%src) {
      8 ; CHECK-LABEL: f1:
      9 ; CHECK: cs
     10 ; CHECK: br %r14
     11   %val = load atomic i16 *%src seq_cst, align 2
     12   ret i16 %val
     13 }
     14