[PATCH] D105994: [SVE] Add folds for sign and zero extends of vscale

Dylan Fleming via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 15 13:48:19 PDT 2021


DylanFleming-arm added a comment.

There's instances where max-vscale won't be known at compile time, but this route should allow for the optimizations wherever possible.

I believe in terms of the LangRef, it's still possible for llvm.vscale to return poision, and it could still happen in cases where max-vscale is unknown until runtime. So personally I don't think any adjustment is required.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105994



More information about the llvm-commits mailing list