[PATCH] D157299: [RISCV] Use vmv.s.x for a constant build_vector when the entire size is less than 32 bits
Luke Lau via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 7 10:37:15 PDT 2023
luke added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:3301
+ SplatValue |= ((cast<ConstantSDNode>(SeqV)->getZExtValue() & EltMask)
+ << (EltIdx * EltBitSize));
+ EltIdx++;
----------------
Are EltIdx and Idx the same?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157299/new/
https://reviews.llvm.org/D157299
More information about the llvm-commits
mailing list