xref: /llvm-project/llvm/test/CodeGen/SystemZ/atomic-load-06.ll (revision 8b8e1adbdecd5f37ebcaa8d4fdf333962f7a0eb7)
103934e70SIlya Leoshkevich; Test float atomic loads.
203934e70SIlya Leoshkevich;
303934e70SIlya Leoshkevich; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
403934e70SIlya Leoshkevich
503934e70SIlya Leoshkevichdefine float @f1(ptr %src) {
603934e70SIlya Leoshkevich; CHECK-LABEL: f1:
7*8b8e1adbSJonas Paulsson; CHECK: le %f0, 0(%r2)
803934e70SIlya Leoshkevich; CHECK: br %r14
903934e70SIlya Leoshkevich  %val = load atomic float, ptr %src seq_cst, align 4
1003934e70SIlya Leoshkevich  ret float %val
1103934e70SIlya Leoshkevich}
12