[PATCH] D141079: [SelectionDAG] Improve constant folding in the presence of SPLAT_VECTOR

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 6 03:59:54 PST 2023


luke added a comment.

In D141079#4029594 <https://reviews.llvm.org/D141079#4029594>, @tlively wrote:

> Could you add a test showing the regression in a preliminary patch so that we can see the improvement in this patch?

Of course, I've separated out my journey here into D141120 <https://reviews.llvm.org/D141120> and D141075 <https://reviews.llvm.org/D141075>.
To give some context, this is to prevent a regression from D139871 <https://reviews.llvm.org/D139871> in the code generated in pr59626.ll, which is taken from https://github.com/llvm/llvm-project/issues/59626. (For wasm32: on wasm64 it just crashed, but D139871 <https://reviews.llvm.org/D139871> fixed that)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141079



More information about the llvm-commits mailing list