OSDN Git Service

Update aosp/master LLVM for rebase to r256229
[android-x86/external-llvm.git] / test / CodeGen / Mips / llvm-ir / sqrt.ll
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
5 define float @sqrt_fn(float %value) #0 {
6 entry:
7   %sqrtf = tail call float @sqrtf(float %value) #0
8   ret float %sqrtf
9 }
10
11 declare float @sqrtf(float)
12
13 ; CHECK: sqrt.s $f0, $f12