blob: 3e86bcf78ae6884642641ab04a8dd242bad85d0c [file] [log] [blame]
Ulrich Weigand9e3577f2013-05-06 16:17:29 +00001; 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.
7define i8 @f1(i8 *%src) {
8; CHECK: f1:
9; CHECK: cs
10; CHECK: br %r14
11 %val = load atomic i8 *%src seq_cst, align 1
12 ret i8 %val
13}