[PATCH] D147934: [RISCV] Support LLVM IR intrinsics for XSfvcp extension.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 13 23:57:43 PDT 2023
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoXSf.td:503
+ defm : VPatVC_XV<"fv", "F" # vti.SEW # "V", vti,
+ GetFTypeInfo<vti.SEW>.Scalar,
+ GetFTypeInfo<vti.SEW>.ScalarRegClass, payload1>;
----------------
4vtomat wrote:
> craig.topper wrote:
> > Isn't there already a Scalar and ScalarRegClass field in vti?
> We want vector argument to be **integer** and scalar argument to be **float**, so that's why we need to convert only scalar to **float**.
That makes sense. Thanks!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147934/new/
https://reviews.llvm.org/D147934
More information about the llvm-commits
mailing list