[all-commits] [llvm/llvm-project] eeba70: [VE] Expand single-element BUILD_VECTOR to INSERT_...

llvmbot via All-commits all-commits at lists.llvm.org
Fri Jan 8 02:52:55 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: eeba70a463c70c76868421e08c4036c70bfad994
      https://github.com/llvm/llvm-project/commit/eeba70a463c70c76868421e08c4036c70bfad994
  Author: Simon Moll <simon.moll at emea.nec.com>
  Date:   2021-01-08 (Fri, 08 Jan 2021)

  Changed paths:
    M llvm/lib/Target/VE/VEISelLowering.cpp
    A llvm/test/CodeGen/VE/Vector/expand_single_elem_build_vec.ll
    M llvm/test/CodeGen/VE/Vector/insert_elt.ll

  Log Message:
  -----------
  [VE] Expand single-element BUILD_VECTOR to INSERT_VECTOR_ELT

We do this mostly to be able to test the insert_vector_elt isel
patterns. As long as we don't, most single element insertions show up as
`BUILD_VECTOR` in the backend.

Reviewed By: kaz7

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




More information about the All-commits mailing list