[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
Wed Jul 14 13:31:56 PDT 2021


efriedma added a comment.

I think you might need to be a bit more careful to justify these transforms.

LangRef says "If the result value does not fit in the result type, then the result is a poison value."  But does that mean the sign bit is guaranteed to be zero?


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