[all-commits] [llvm/llvm-project] af4309: [PowerPC][AIX] Allow VSX patterns to be 32-bit and...

Amy Kwan via All-commits all-commits at lists.llvm.org
Fri May 27 08:34:42 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af430944b3ba8ca55c4fd6b73f53c198c469ffee
      https://github.com/llvm/llvm-project/commit/af430944b3ba8ca55c4fd6b73f53c198c469ffee
  Author: Amy Kwan <amy.kwan1 at ibm.com>
  Date:   2022-05-27 (Fri, 27 May 2022)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstrVSX.td
    M llvm/test/CodeGen/PowerPC/aix_scalar_vector_permuted.ll
    M llvm/test/CodeGen/PowerPC/canonical-merge-shuffles.ll
    M llvm/test/CodeGen/PowerPC/float-vector-gather.ll
    M llvm/test/CodeGen/PowerPC/load-and-splat.ll
    M llvm/test/CodeGen/PowerPC/load-v4i8-improved.ll
    M llvm/test/CodeGen/PowerPC/pre-inc-disable.ll
    M llvm/test/CodeGen/PowerPC/reduce_scalarization.ll
    M llvm/test/CodeGen/PowerPC/scalar_vector_test_4.ll
    M llvm/test/CodeGen/PowerPC/vec_insert_elt.ll

  Log Message:
  -----------
  [PowerPC][AIX] Allow VSX patterns to be 32-bit and 64-bit safe on P8+.

This patch updates two patterns involving `scalar_to_vector` and
`SCALAR_TO_VECTOR_PERMUTED` nodes to be safe for both 64-bit and 32-bit by
pulling the patterns out of the 64-bit specific guard. These patterns are
matched on POWER8 and above.

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




More information about the All-commits mailing list