[all-commits] [llvm/llvm-project] 2cfb24: [DAG] Use isAnyConstantBuildVector. NFC

David Green via All-commits all-commits at lists.llvm.org
Mon May 9 06:13:16 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2cfb243bcd6aeab77dc80455bc8f2061128bd11b
      https://github.com/llvm/llvm-project/commit/2cfb243bcd6aeab77dc80455bc8f2061128bd11b
  Author: David Green <david.green at arm.com>
  Date:   2022-05-09 (Mon, 09 May 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

  Log Message:
  -----------
  [DAG] Use isAnyConstantBuildVector. NFC

As suggested from 02f8519502447de, this uses the
isAnyConstantBuildVector method in lieu of separate
isBuildVectorOfConstantSDNodes calls. It should
otherwise be an NFC.




More information about the All-commits mailing list