diff options
author | John Brawn <john.brawn@arm.com> | 2025-05-02 12:55:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-02 12:55:18 +0100 |
commit | 5060f08c3a98c2e4976d7ec380d9d8ea1888a68c (patch) | |
tree | a6df902bc12ced4445e6447263459d034c18b1d8 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9060ca01913776cbed78b03e72d7700adc2201b7 (diff) | |
download | llvm-5060f08c3a98c2e4976d7ec380d9d8ea1888a68c.zip llvm-5060f08c3a98c2e4976d7ec380d9d8ea1888a68c.tar.gz llvm-5060f08c3a98c2e4976d7ec380d9d8ea1888a68c.tar.bz2 |
[AArch64] Use pattern to select bf16 fpextend (#137212)
Currently bf16 fpextend is lowered to a vector shift. Instead leave it
as fpextend and have an instruction selection pattern which selects to a
shift later. Doing this means that DAGCombiner patterns for fpextend
will be applied, leading to better codegen. It also means that in some
situations we use a mov instruction where we previously have a dup
instruction, but I don't think this makes any difference.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions