[all-commits] [llvm/llvm-project] bfa9ce: [PowerPC] Improve handling of some BUILD_VECTOR nodes

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Mon Mar 23 15:43:41 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bfa9ce1cb27a6abac071c0b8fab76d647098eaeb
      https://github.com/llvm/llvm-project/commit/bfa9ce1cb27a6abac071c0b8fab76d647098eaeb
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2020-03-23 (Mon, 23 Mar 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstrVSX.td
    M llvm/test/CodeGen/PowerPC/build-vector-tests.ll
    M llvm/test/CodeGen/PowerPC/reduce_scalarization02.ll
    M llvm/test/CodeGen/PowerPC/vec_conv_fp32_to_i64_elts.ll
    M llvm/test/CodeGen/PowerPC/vsx.ll

  Log Message:
  -----------
  [PowerPC] Improve handling of some BUILD_VECTOR nodes

An analysis of real world code turned up a number of patterns with BUILD_VECTOR
of nodes resulting from operations on extracted vector elements for which we
produce poor code. This addresses those cases. No attempt is made for
completeness as that would entail a large amount of work for something that
there is no evidence of in real code.

Differential revision: https://reviews.llvm.org/D72660




More information about the All-commits mailing list