Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AArch64][SVE][CodeGen] Generate fused mul+add/sub ops with one of ad…
…d/sub operands as splat Currently, depending upon whether the add/sub instruction can synthesize immediate directly, its decided whether to generate mul+(add/sub immediate) or mov+mla/mad/msb/mls ops. If the add/sub can synthesize immediate directly, then fused ops wont get generated. This patch tries to address this by having makeshift higher priority for the fused ops. Specifically, patch aims at transformation similar to below: add ( mul, splat_vector(C)) -> MOV C MAD Differential Revision: https://reviews.llvm.org/D142656
- Loading branch information
Showing
2 changed files
with
21 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters