[PATCH] D125552: [RISCV] Add llvm.read.register support for vlenb

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 13 10:53:26 PDT 2022


reames added a comment.

In D125552#3512191 <https://reviews.llvm.org/D125552#3512191>, @craig.topper wrote:

> Would llvm.vscale() * 8 have been a good testing hook for vlenb? I imagine that would CSE in SelectionDAG.

vscale is currently lowered to PseudoReadVLENB.  I needed something which bypassed the pseudo to be able to write the COPY from constant physreg cases before replacing the pseudo with the plain copy.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125552



More information about the llvm-commits mailing list