[PATCH] D105994: [SVE] Add folds for sign and zero extends of vscale
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 15 12:57:16 PDT 2021
efriedma added a comment.
I assume the max-vscale attribute will usually be present? In that case, checking it seems best.
(We might actually want to consider relaxing the LangRef rule; if we can easily determine whether the result fits into a given bitwidth, there isn't really any reason to make llvm.vscale return poison.)
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