[llvm] [RISCV] Fold vfmv.f.s of f16 into load from stack (PR #110214)

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 27 07:59:25 PDT 2024


================
@@ -1,6 +1,6 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
-; RUN: llc < %s -mtriple=riscv32 -mattr=+v -verify-machineinstrs | FileCheck --check-prefixes=CHECK,RV32 %s
-; RUN: llc < %s -mtriple=riscv64 -mattr=+v -verify-machineinstrs | FileCheck --check-prefixes=CHECK,RV64 %s
+; RUN: llc < %s -mtriple=riscv32 -mattr=+v,+zfhmin,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs | FileCheck --check-prefixes=CHECK,RV32 %s
----------------
preames wrote:

Can you add (back) a plain vector line so that we have coverage of trying to fold the case without the instructions?  (I think this just goes the integer path, but it be good to have coverage.)

https://github.com/llvm/llvm-project/pull/110214


More information about the llvm-commits mailing list