llvm-for-llvmta/test/CodeGen/Mips/micromips-sizereduction/micromips-lwsp-swsp.ll

12 lines
292 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; RUN: llc -march=mipsel -mcpu=mips32r2 -mattr=+micromips -asm-show-inst -verify-machineinstrs < %s | FileCheck %s
; Function Attrs: nounwind
define i32 @function1(i32 (i32)* %f) {
entry:
; CHECK-LABEL: function1:
; CHECK: SWSP_MM
; CHECK: LWSP_MM
%call = call i32 %f(i32 0)
ret i32 0
}