[PATCH] D83602: [DAGCombiner] Scalarize splats with just one demanded lane

Thomas Lively via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 16 13:00:37 PDT 2020


tlively added a comment.

Thank you all for the comments! I agree that the opcodes in SelectionDAG::isSplatValue are rather arbitrary, so a more principled approach using a TLI hook might be better. I will take a look at what X86 is doing to see if a simpler solution would work for WebAssembly, too.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83602





More information about the llvm-commits mailing list