[PATCH] D131551: [RISCV] Fold scalable binary integer vector op and vector select op to RVV VL Op.
luxufan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 12 09:29:17 PDT 2022
StephenFan added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:8317
+ switch (N->getOpcode()) {
+ case ISD::ADD:
+ RISCVVLISDOpc = RISCVISD::ADD_VL;
----------------
Is it possible to use a macro definition to reduce code lines?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131551/new/
https://reviews.llvm.org/D131551
More information about the llvm-commits
mailing list