• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=mipsel -mcpu=mips32r2 -mattr=+micromips | FileCheck %s
2; RUN: llc < %s -march=mips -mcpu=mips32r2 -mattr=+micromips | FileCheck %s
3; RUN: llc < %s -march=mips -mcpu=mips32r6 -mattr=+micromips | FileCheck %s
4
5define float @sqrt_fn(float %value) #0 {
6entry:
7  %sqrtf = tail call float @sqrtf(float %value) #0
8  ret float %sqrtf
9}
10
11declare float @sqrtf(float)
12
13; CHECK: sqrt.s $f0, $f12
14