[all-commits] [llvm/llvm-project] 8a58f2: [PowerPC][Power10] Exploit store rightmost vector ...

Kamau Bridgeman via All-commits all-commits at lists.llvm.org
Tue Dec 22 09:07:10 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a58f21f5b6c228137a9b87906fe5b720c4d1dfb
      https://github.com/llvm/llvm-project/commit/8a58f21f5b6c228137a9b87906fe5b720c4d1dfb
  Author: Kamau Bridgeman <kamau.bridgeman at ibm.com>
  Date:   2020-12-22 (Tue, 22 Dec 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstrPrefix.td
    M llvm/test/CodeGen/PowerPC/builtins-ppc-p10vsx.ll
    A llvm/test/CodeGen/PowerPC/store-rightmost-vector-elt.ll

  Log Message:
  -----------
  [PowerPC][Power10] Exploit store rightmost vector element instructions

Using the store rightmost vector element instructions to do vector
element extraction and store. The rightmost vector element on little
endian is the zeroth vector element, with these patterns that element
can be extracted and stored in one instruction for all vector types.

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




More information about the All-commits mailing list