[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 09:45:12 PDT 2021


DylanFleming-arm added a comment.

We could use the max-vscale attribute to determine if the runtime value fits the type. If this cannot be determined, the optimization would be skipped, otherwise we change the type of llvm.vscale to the extended type.
Would that be a suitable approach?


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