[all-commits] [llvm/llvm-project] f4cc73: [DAG] Teach isConstOrConstSplat about SPLAT_VECTORs

David Green via All-commits all-commits at lists.llvm.org
Thu Dec 8 03:53:38 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f4cc734a330dabf9fdf44b92432b3a4a9f811b01
      https://github.com/llvm/llvm-project/commit/f4cc734a330dabf9fdf44b92432b3a4a9f811b01
  Author: David Green <david.green at arm.com>
  Date:   2022-12-08 (Thu, 08 Dec 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    A llvm/test/CodeGen/AArch64/sve-knownbits.ll
    M llvm/test/CodeGen/RISCV/rvv/vnsra-sdnode.ll

  Log Message:
  -----------
  [DAG] Teach isConstOrConstSplat about SPLAT_VECTORs

This teaches the DemandedElts version of isConstOrConstSplat about
SPLAT_VECTORS, in the same way as the non-DemandedElts version by
calling the demanded-bits version from the non-demanded-bits version.

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




More information about the All-commits mailing list