[PATCH] D73753: [ConstantFold][SVE] Fix constant folding for scalable vector compare instruction.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 31 10:27:01 PST 2020


efriedma added a comment.

We should fix ConstantInt::get and Constant::getAllOnesValue to work with scalable types; it doesn't make sense to avoid them given we can generate an appropriate constant (splat using insertelement/shufflevector).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D73753





More information about the llvm-commits mailing list