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 void @store_i8(ptr %ptr, i8 signext %v) {
13 store atomic i8 %v, ptr %ptr release, align 1
17 define void @store_i16(ptr %ptr, i16 signext %v) {
18 ; ALL-LABEL: store_i16
22 store atomic i16 %v, ptr %ptr release, align 2
26 define void @store_i32(ptr %ptr, i32 signext %v) {
27 ; ALL-LABEL: store_i32
31 store atomic i32 %v, ptr %ptr release, align 4
35 define void @store_i64(ptr %ptr, i64 %v) {
36 ; M64-LABEL: store_i64
40 store atomic i64 %v, ptr %ptr release, align 8