1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -O0 -mtriple=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32
4 define void @store_i32(i32 %val, i32* %ptr) {
5 ; MIPS32-LABEL: store_i32:
6 ; MIPS32: # %bb.0: # %entry
7 ; MIPS32-NEXT: sw $4, 0($5)
11 store i32 %val, i32* %ptr
15 define void @store_i64(i64 %val, i64* %ptr) {
16 ; MIPS32-LABEL: store_i64:
17 ; MIPS32: # %bb.0: # %entry
18 ; MIPS32-NEXT: sw $4, 0($6)
19 ; MIPS32-NEXT: sw $5, 4($6)
23 store i64 %val, i64* %ptr
27 define void @store_float(float %val, float* %ptr) {
28 ; MIPS32-LABEL: store_float:
29 ; MIPS32: # %bb.0: # %entry
30 ; MIPS32-NEXT: swc1 $f12, 0($5)
34 store float %val, float* %ptr
38 define void @store_double(double %val, double* %ptr) {
39 ; MIPS32-LABEL: store_double:
40 ; MIPS32: # %bb.0: # %entry
41 ; MIPS32-NEXT: sdc1 $f12, 0($6)
45 store double %val, double* %ptr