1 ; RUN: llc -march=mips -mcpu=mips32r2 < %s | FileCheck %s -check-prefix=ALL
2 ; RUN: llc -march=mips -mcpu=mips32r6 < %s | FileCheck %s -check-prefix=ALL
3 ; RUN: llc -march=mips64 -mcpu=mips64r2 < %s | \
4 ; RUN: FileCheck %s -check-prefixes=ALL,M64
5 ; RUN: llc -march=mips64 -mcpu=mips64r6 < %s | \
6 ; RUN: FileCheck %s -check-prefixes=ALL,M64
8 define i8 @load_i8(ptr %ptr) {
13 %val = load atomic i8, ptr %ptr acquire, align 1
17 define i16 @load_i16(ptr %ptr) {
22 %val = load atomic i16, ptr %ptr acquire, align 2
26 define i32 @load_i32(ptr %ptr) {
31 %val = load atomic i32, ptr %ptr acquire, align 4
35 define i64 @load_i64(ptr %ptr) {
40 %val = load atomic i64, ptr %ptr acquire, align 8