diff options
author | Florian Hahn <florian.hahn@arm.com> | 2017-12-06 22:48:36 +0000 |
---|---|---|
committer | Florian Hahn <florian.hahn@arm.com> | 2017-12-06 22:48:36 +0000 |
commit | 5d6a4e43bac17b047d0e3fb60a56db621385f265 (patch) | |
tree | af855040ced223e0358d658d1247e15064181adb /clang/lib/Lex/ModuleMap.cpp | |
parent | a502ee73c49b2c314e8340b07f38f183fc6b19df (diff) | |
download | llvm-5d6a4e43bac17b047d0e3fb60a56db621385f265.zip llvm-5d6a4e43bac17b047d0e3fb60a56db621385f265.tar.gz llvm-5d6a4e43bac17b047d0e3fb60a56db621385f265.tar.bz2 |
[AArch64] Add patterns to replace fsub fmul with fma fneg.
Summary:
This patch adds MachineCombiner patterns for transforming
(fsub (fmul x y) z) into (fma x y (fneg z)). This has a lower
latency on micro architectures where fneg is cheap.
Patch based on work by George Steed.
Reviewers: rengolin, joelkevinjones, joel_k_jones, evandro, efriedma
Reviewed By: evandro
Subscribers: aemerson, javed.absar, llvm-commits, kristof.beyls
Differential Revision: https://reviews.llvm.org/D40306
llvm-svn: 319980
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions