[PATCH] D120328: [DAGCombine] insert_subvector undef, (splat X), N2 -> splat X

Paul Walker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 1 09:19:57 PDT 2022


paulwalker-arm added a comment.

Hi @cameron.mcinally, I've finally had chance to circle back to this (no April fools joke I promise :) ) and looking at `DAGCombiner::visitINSERT_SUBVECTOR` I can see several instances where it throws away `undef` information, not least the first two combines before my new one. So my feeling is there's no expectation to preserve it for our use case either.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120328



More information about the llvm-commits mailing list