[PATCH] D150824: [RISCV] Lower experimental_get_vector_length intrinsic to vsetvli for some cases.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 5 10:45:04 PDT 2023


craig.topper updated this revision to Diff 528508.
craig.topper added a comment.

Use RVVBitsPerBlock to define the math.
Add explanatory comments.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150824

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/lib/Target/RISCV/RISCVISelLowering.h
  llvm/test/CodeGen/RISCV/rvv/get_vector_length.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150824.528508.patch
Type: text/x-patch
Size: 15333 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230605/5a5c60f9/attachment.bin>


More information about the llvm-commits mailing list