[PATCH] D152844: [RISCV][InsertVSETVLI] Rework code structure to make reasoning about undefined lanes explicit [NFC]
Fraser Cormack via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 14 01:28:57 PDT 2023
frasercrmck accepted this revision.
frasercrmck added a comment.
LGTM with a comment question. Agreed, this is nice to see.
================
Comment at: llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp:905
// * The LMUL1 restriction is for machines whose latency may depend on VL.
// * As above, this is only legal for IMPLICIT_DEF, not TA.
if (isVSlideInstr(MI) && Require.hasAVLImm() && Require.getAVLImm() == 1 &&
----------------
Does this comment hold? Could it now be improved?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152844/new/
https://reviews.llvm.org/D152844
More information about the llvm-commits
mailing list