[llvm] [RISCV] Fold vfmv.f.s of f16 into load from stack (PR #110214)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 29 20:55:57 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
----------------
lukel97 wrote:
We need +zvfhmin and +zvfbfmin or we'll crash when trying to handle the scalable half/bfloat vectors. But we can still test the integer path if we make the scalar types illegal so I've added more run lines without zfhmin and zfbfmin
https://github.com/llvm/llvm-project/pull/110214
More information about the llvm-commits
mailing list