[PATCH] D155929: [RISCV] Use the first element of source as the start value of reduction.
Yeting Kuo via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 24 18:03:07 PDT 2023
fakepaper56 added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:3446
+ }
+ if (ExtractedVT.bitsLE(VT))
+ return DAG.getNode(ISD::INSERT_SUBVECTOR, DL, VT, Passthru, ExtractedVal,
----------------
craig.topper wrote:
> Is VT here always scalable?
I think all lowerScalarInsert calls use scalable vector VT and it looks like lowerScalarInsert can't have fixed vector VT.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155929/new/
https://reviews.llvm.org/D155929
More information about the llvm-commits
mailing list