[PATCH] D156692: [RISCV] Scalarize binop followed by extractelement to W instruction on RV64
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 31 07:29:03 PDT 2023
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:1857
EVT ScalarVT = VecVT.getScalarType();
- return isOperationLegalOrCustomOrPromote(Opc, ScalarVT);
+ return isOperationLegalOrPromote(Opc, ScalarVT) ||
+ isOperationCustom(Opc, ScalarVT);
----------------
Can we use `isOperationLegalOrCustomOrPromote`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156692/new/
https://reviews.llvm.org/D156692
More information about the llvm-commits
mailing list