[PATCH] D102687: [RISCV] Ensure shuffle splat operands are type-legal

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 19 10:45:03 PDT 2021


craig.topper added a comment.

I think the issue for X86 might be that NewNodesMustHaveLegalTypes is set after type legalization, but vector legalization is allowed to create illegal scalar types. A second type legalization runs after. Maybe we should add a bool parameter to the function that defaults to false, but can be set to true to request a legal type?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102687



More information about the llvm-commits mailing list