diff options
author | Bradley Smith <bradley.smith@arm.com> | 2021-02-12 12:51:10 +0000 |
---|---|---|
committer | Bradley Smith <bradley.smith@arm.com> | 2021-02-18 16:51:22 +0000 |
commit | 5b094bfeb3ccaf3ba118f161277ade9fc5147272 (patch) | |
tree | 757a5808b1a86f012922f28baadbf4088d8c3e31 /llvm/lib/CodeGen/SplitKit.cpp | |
parent | 1dfb06d0b40e875d524b2b43fc95ce81a41ce014 (diff) | |
download | llvm-5b094bfeb3ccaf3ba118f161277ade9fc5147272.zip llvm-5b094bfeb3ccaf3ba118f161277ade9fc5147272.tar.gz llvm-5b094bfeb3ccaf3ba118f161277ade9fc5147272.tar.bz2 |
[AArch64] Allow folding FMUL/FADD into FMA for FP16 types
isFMAFasterThanFMulAndFAdd should return true for FP16 types when
HasFullFP16 is present, since we have the instructions to handle it for
both SVE and NEON. (SVE patterns and tests will follow).
Differential Revision: https://reviews.llvm.org/D96599
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.cpp')
0 files changed, 0 insertions, 0 deletions