[all-commits] [llvm/llvm-project] 096b25: [CodeGen] Use SPLAT_VECTOR for zeroinitialiser wit...

david-arm via All-commits all-commits at lists.llvm.org
Mon Apr 27 07:58:39 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 096b25a8d8ed8a5162dfead59ed9cd9c2b4825aa
      https://github.com/llvm/llvm-project/commit/096b25a8d8ed8a5162dfead59ed9cd9c2b4825aa
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2020-04-27 (Mon, 27 Apr 2020)

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

  Log Message:
  -----------
  [CodeGen] Use SPLAT_VECTOR for zeroinitialiser with scalable types

Summary:
When generating code for the LLVM IR zeroinitialiser operation, if
the vector type is scalable we should be using SPLAT_VECTOR instead
of BUILD_VECTOR.

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




More information about the All-commits mailing list