[all-commits] [llvm/llvm-project] cf0395: [PowerPC] Fix the xxperm swap requirements

maryammoghadas via All-commits all-commits at lists.llvm.org
Wed Apr 5 18:13:54 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf0395f81655ead3ac8e7e6c85778316097f2748
  Author: Maryam Moghadas <maryammo at ca.ibm.com>
  Date:   2023-04-05 (Wed, 05 Apr 2023)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/test/CodeGen/PowerPC/pre-inc-disable.ll
    M llvm/test/CodeGen/PowerPC/v16i8_scalar_to_vector_shuffle.ll
    M llvm/test/CodeGen/PowerPC/vector-constrained-fp-intrinsics.ll
    A llvm/test/CodeGen/PowerPC/xxperm-swap.ll

  Log Message:
  [PowerPC] Fix the xxperm swap requirements

This patch is to fix the xxperm vector operand swap condition so that the
single-use operand is in V2 to prevent copying, it also fixes the subtarget
condition to exploit the xpperm.

Reviewed By: stefanp

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

More information about the All-commits mailing list