[PATCH] D120302: [RISCV] Expend vcpop and vfirst with VL=0 to li imm

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 21 23:04:12 PST 2022


craig.topper added a comment.

This should be done as a DAGCombine not isel. You want the constant folding to enable other optimizations.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120302/new/

https://reviews.llvm.org/D120302



More information about the llvm-commits mailing list