[PATCH] D131551: [RISCV] Fold scalable binary integer vector op and vector select op to RVV VL Op.

Jianjian Guan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 12 19:50:54 PDT 2022


jacquesguan added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:8317
+  switch (N->getOpcode()) {
+  case ISD::ADD:
+    RISCVVLISDOpc = RISCVISD::ADD_VL;
----------------
StephenFan wrote:
> Is it possible to use a macro definition to reduce code lines?
Done.


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