Home | History | Annotate | Download | only in SystemZ
      1 ; Test 8-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 i8 @f1(i8 *%src) {
      8 ; CHECK-LABEL: f1:
      9 ; CHECK: cs
     10 ; CHECK: br %r14
     11   %val = load atomic i8 *%src seq_cst, align 1
     12   ret i8 %val
     13 }
     14