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, ptr %ptr) {
5 ; MIPS32-LABEL: store_i32:
6 ; MIPS32: # %bb.0: # %entry
7 ; MIPS32-NEXT: sw $4, 0($5)
11 store i32 %val, ptr %ptr
15 define void @store_i64(i64 %val, ptr %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, ptr %ptr
27 define void @store_float(float %val, ptr %ptr) {
28 ; MIPS32-LABEL: store_float:
29 ; MIPS32: # %bb.0: # %entry
30 ; MIPS32-NEXT: swc1 $f12, 0($5)
34 store float %val, ptr %ptr
38 define void @store_double(double %val, ptr %ptr) {
39 ; MIPS32-LABEL: store_double:
40 ; MIPS32: # %bb.0: # %entry
41 ; MIPS32-NEXT: sdc1 $f12, 0($6)
45 store double %val, ptr %ptr