[PATCH] D99654: [RISCV] Expand scalable-vector truncstores and extloads
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 1 16:53:27 PDT 2021
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:489
+
+ for (MVT OtherVT : IntVecVTs) {
+ setLoadExtAction(ISD::EXTLOAD, OtherVT, VT, Expand);
----------------
You might be better off using integer_scalable_vector_valuetypes(). We need to block mask vectors too.
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:556
for (MVT OtherVT : MVT::fixedlen_vector_valuetypes())
setTruncStoreAction(VT, OtherVT, Expand);
----------------
LoadExt for integer fixed vectors is missing.
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:559
SetCommonVFPActions(VT);
+ SetCommonVFPExtLoadTruncStoreActions(VT, makeArrayRef(F16VecVTs));
+ }
----------------
Is the explicit makeArrayRef needed?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99654/new/
https://reviews.llvm.org/D99654
More information about the llvm-commits
mailing list