[PATCH] D122875: [DAGCombiner] Scalarize extend/truncate for splat vector.

Jianjian Guan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 27 03:55:21 PDT 2022


jacquesguan added a comment.

In D122875#3467800 <https://reviews.llvm.org/D122875#3467800>, @frasercrmck wrote:

> Sorry, I'm a bit rusty. What happens with the equivalent fixed-length vector splats (BUILD_VECTOR)? If they're scalarized can we do the same for SPLAT_VECTOR in the same place? If they're not scalarized, what's the logic for only doing this transform for SPLAT_VECTOR?

I changed some code to support other kinds splat.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122875



More information about the llvm-commits mailing list