summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Hexagon/opt-fabs.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/Hexagon/opt-fabs.ll')
-rw-r--r--llvm/test/CodeGen/Hexagon/opt-fabs.ll15
1 files changed, 0 insertions, 15 deletions
diff --git a/llvm/test/CodeGen/Hexagon/opt-fabs.ll b/llvm/test/CodeGen/Hexagon/opt-fabs.ll
deleted file mode 100644
index 1cf0dd0cd99..00000000000
--- a/llvm/test/CodeGen/Hexagon/opt-fabs.ll
+++ /dev/null
@@ -1,15 +0,0 @@
-; RUN: llc -march=hexagon -mcpu=hexagonv5 < %s | FileCheck %s
-; Optimize fabsf to clrbit in V5.
-
-; CHECK: r{{[0-9]+}} = clrbit(r{{[0-9]+}}, #31)
-
-define float @my_fabsf(float %x) nounwind {
-entry:
- %x.addr = alloca float, align 4
- store float %x, float* %x.addr, align 4
- %0 = load float* %x.addr, align 4
- %call = call float @fabsf(float %0)
- ret float %call
-}
-
-declare float @fabsf(float)
OpenPOWER on IntegriCloud