1 ; RUN: llc -mtriple=hexagon-unknown-elf -mcpu=hexagonv5 -hexagon-bit=0 < %s | FileCheck %s
2 ; Optimize fabsf to clrbit in V5.
4 ; CHECK: r{{[0-9]+}} = clrbit(r{{[0-9]+}},#31)
6 define float @my_fabsf(float %x) nounwind {
8 %x.addr = alloca float, align 4
9 store float %x, ptr %x.addr, align 4
10 %0 = load float, ptr %x.addr, align 4
11 %call = call float @fabsf(float %0) readnone
15 declare float @fabsf(float)