[all-commits] [llvm/llvm-project] dfc95b: [DAG] Ensure more Legal BUILD_VECTOR elements type...

David Green via All-commits all-commits at lists.llvm.org
Mon Aug 15 06:41:59 PDT 2022

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

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

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

This is a followup to D131350, which caused another problem for i64
types being split into i32 on i32 targets. This patch tries to make sure
that either Illegal types are OK, or that the element types of a
buildvector are legal and bigger than or equal to the size of the
original elements.

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

More information about the All-commits mailing list