diff options
author | Gerolf Hoflehner <ghoflehner@apple.com> | 2016-04-22 02:15:19 +0000 |
---|---|---|
committer | Gerolf Hoflehner <ghoflehner@apple.com> | 2016-04-22 02:15:19 +0000 |
commit | b32f11fc62ef12de1762adf588de6ee6bd4b2bb0 (patch) | |
tree | 6b86fb22b492753a5a4735482ae05a367c41f92e /llvm/lib/Object/IRObjectFile.cpp | |
parent | 6fb3f19959b39cb2f5cff276db55698464c59fa4 (diff) | |
download | llvm-b32f11fc62ef12de1762adf588de6ee6bd4b2bb0.zip llvm-b32f11fc62ef12de1762adf588de6ee6bd4b2bb0.tar.gz llvm-b32f11fc62ef12de1762adf588de6ee6bd4b2bb0.tar.bz2 |
[MachineCombiner] Support for floating-point FMA on ARM64
Evaluates fmul+fadd -> fmadd combines and similar code sequences in the
machine combiner. It adds support for float and double similar to the existing
integer implementation. The key features are:
- DAGCombiner checks whether it should combine greedily or let the machine
combiner do the evaluation. This is only supported on ARM64.
- It gives preference to throughput over latency: the heuristic used is
to combine always in loops. The targets decides whether the machine
combiner should optimize for throughput or latency.
- Supports for fmadd, f(n)msub, fmla, fmls patterns
- On by default at O3 ffast-math
llvm-svn: 267098
Diffstat (limited to 'llvm/lib/Object/IRObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions