1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -O0 -mtriple=mipsel-linux-gnu -global-isel \
3 ; RUN: -verify-machineinstrs %s -o -| FileCheck %s
4 ; RUN: llc -O0 -mtriple=mipsel-linux-gnu -mattr=+fp64,+mips32r2 -global-isel \
5 ; RUN: -verify-machineinstrs %s -o -| FileCheck %s
7 declare float @llvm.fabs.f32(float)
8 define float @fabs_f32(float %a) {
9 ; CHECK-LABEL: fabs_f32:
10 ; CHECK: # %bb.0: # %entry
11 ; CHECK-NEXT: abs.s $f0, $f12
15 %0 = call float @llvm.fabs.f32(float %a)
19 declare double @llvm.fabs.f64(double)
20 define double @fabs_f64(double %a) {
21 ; CHECK-LABEL: fabs_f64:
22 ; CHECK: # %bb.0: # %entry
23 ; CHECK-NEXT: abs.d $f0, $f12
27 %0 = call double @llvm.fabs.f64(double %a)