[all-commits] [llvm/llvm-project] 44481f: [DAGCombine] Change isBuildVectorAll* -> isConstan...

jjasmine via All-commits all-commits at lists.llvm.org
Fri Jul 11 02:13:26 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 44481f506770ed41e49d0f336eb569bacec0d32a
      https://github.com/llvm/llvm-project/commit/44481f506770ed41e49d0f336eb569bacec0d32a
  Author: jjasmine <jjasmine at igalia.com>
  Date:   2025-07-11 (Fri, 11 Jul 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/WebAssembly/fpclamptosat_vec.ll
    M llvm/test/CodeGen/WebAssembly/simd-select.ll

  Log Message:
  -----------
  [DAGCombine] Change isBuildVectorAll* -> isConstantSplatVectorAll* for Vselect (#147305)

Change isBuildVectorAll* -> isConstantSplatVectorAll* in VSelect in case
the fold happens after BuildVector has been canonically transformed to
Splat or if the Splat is initially in vselect already

- Fixes #73454
- Update related test cases, add extra tests in wasm

---------

Co-authored-by: Simon Pilgrim <llvm-dev at redking.me.uk>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list