[PATCH] D126563: [RISCV] Allow PRE of vsetvli involving non-1 LMUL

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 27 13:43:11 PDT 2022


craig.topper added a comment.

There is an option to scale the LMUL returned to the vectorizer by TTI getRegisterBitWidth. Using that you can get LMUL>1 fixed vector loops. https://godbolt.org/z/34asbPcv7 should work for scalar too.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126563



More information about the llvm-commits mailing list