[PATCH] D116918: [RISCV] Use X0 in vsetvli if AVL ≥ (2 * VLMAX)

Jianjian Guan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 13 22:12:06 PST 2022


jacquesguan added a comment.

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

> I agree we could do this, but I don't understand the use case that makes it worth optimizing. Why would a user do this?

Yes, we usually do not have such cases because we have vsetvlimax interfacenow.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116918



More information about the llvm-commits mailing list