[all-commits] [llvm/llvm-project] 7b021f: [PowerPC] Optimize VPERM and fix code order for sw...
    maryammo via All-commits 
    all-commits at lists.llvm.org
       
    Wed Sep 13 13:01:03 PDT 2023
    
    
  
  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b021f2e64e1f5f7bdb4a7d72be12ad46e26cf79
      https://github.com/llvm/llvm-project/commit/7b021f2e64e1f5f7bdb4a7d72be12ad46e26cf79
  Author: Maryam Moghadas <maryammo at ca.ibm.com>
  Date:   2023-09-13 (Wed, 13 Sep 2023)
  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/test/CodeGen/PowerPC/build-vector-tests.ll
    M llvm/test/CodeGen/PowerPC/v16i8_scalar_to_vector_shuffle.ll
    M llvm/test/CodeGen/PowerPC/v8i16_scalar_to_vector_shuffle.ll
    M llvm/test/CodeGen/PowerPC/vperm-swap.ll
  Log Message:
  -----------
  [PowerPC] Optimize VPERM and fix code order for swapping vector operands on LE
This patch reverts commit 7614ba0a5db8 to optimize VPERM when one of its
vector operands is XXSWAPD, similar to XXPERM. It also reorganizes the
little-endian swap code on LE, swapping the vector operand after
adjusting the mask operand. This ensures that the vector operand is
swapped at the correct point in the code, resulting in a valid
constant pool for the mask operand.
Reviewed By: stefanp
Differential Revision: https://reviews.llvm.org/D149083
    
    
More information about the All-commits
mailing list