[all-commits] [llvm/llvm-project] 061e01: [DAG] Ensure Legal BUILD_VECTOR elements types in ...

David Green via All-commits all-commits at lists.llvm.org
Mon Aug 8 01:48:08 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 061e0189a3dab6b1831a80d489ff1b15ad93aafb
  Author: David Green <david.green at arm.com>
  Date:   2022-08-08 (Mon, 08 Aug 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/ARM/vector-store.ll

  Log Message:
  [DAG] Ensure Legal BUILD_VECTOR elements types in shuffle->And combine

D129150 added a combine from shuffles to And that creates a BUILD_VECTOR
of constant elements. We need to ensure that the elements are of a legal
type, to prevent asserts during lowering.

Fixes #56970.

Differential Revision: https://reviews.llvm.org/D131350

More information about the All-commits mailing list