[all-commits] [llvm/llvm-project] a81902: [RISCV] Fold vfmv.f.s of f16 into load from stack ...
Luke Lau via All-commits
all-commits at lists.llvm.org
Mon Sep 30 23:10:18 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a81902ffc9b2074729c34160a5e111f139e21ccf
https://github.com/llvm/llvm-project/commit/a81902ffc9b2074729c34160a5e111f139e21ccf
Author: Luke Lau <luke at igalia.com>
Date: 2024-10-01 (Tue, 01 Oct 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
M llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
Log Message:
-----------
[RISCV] Fold vfmv.f.s of f16 into load from stack (#110214)
After #110144, we can finish off #110129 and fold f16 vfmv.f.s into a
flh.
vfmv.f.s is only available for f16 with zvfh, which in turn requires
zfhmin so we can use flh.
bf16 has no vfmv.f.s so the extract_vector_elt is lowered as an integer
in #110144, and gets the existing integer vmv.x.s fold.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list