blob: 1a8892de0ee20979e317377e4ff775bdb4e490e8 [file] [log] [blame]
Daniel Sanders1b334172015-10-06 15:17:25 +00001; 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