[all-commits] [llvm/llvm-project] 2377ec: [PowerPC] Custom Lowering BUILD_VECTOR for v2i64 f...

jsji via All-commits all-commits at lists.llvm.org
Mon Jul 12 10:56:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2377eca93c03e5de755bcb022b5eb424eec8b512
      https://github.com/llvm/llvm-project/commit/2377eca93c03e5de755bcb022b5eb424eec8b512
  Author: Jinsong Ji <jji at us.ibm.com>
  Date:   2021-07-12 (Mon, 12 Jul 2021)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/test/CodeGen/PowerPC/aix-vec-arg-spills-mir.ll
    M llvm/test/CodeGen/PowerPC/aix-vec-arg-spills.ll
    M llvm/test/CodeGen/PowerPC/build-vector-allones.ll
    M llvm/test/CodeGen/PowerPC/load-and-splat.ll
    M llvm/test/CodeGen/PowerPC/vector-popcnt-128-ult-ugt.ll

  Log Message:
  -----------
  [PowerPC] Custom Lowering BUILD_VECTOR for v2i64 for P7 as well

The lowering for v2i64 is now guarded with hasDirectMove,
however, the current lowering can handle the pattern correctly,
only lowering it when there is efficient patterns and corresponding
instructions.

The original guard was added in D21135, and was for Legal action.
The code has evloved now, this guard is not necessary anymore.

Reviewed By: #powerpc, nemanjai

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




More information about the All-commits mailing list