[all-commits] [llvm/llvm-project] 719b56: [PowerPC][Power10] Exploit splat instruction xxspl...

Conanap via All-commits all-commits at lists.llvm.org
Wed Jan 20 09:56:22 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 719b563ecf6851136e4c1e6a5ff6c407522dd024
      https://github.com/llvm/llvm-project/commit/719b563ecf6851136e4c1e6a5ff6c407522dd024
  Author: Albion Fung <conanap at lep82435v.canlab.ibm.com>
  Date:   2021-01-20 (Wed, 20 Jan 2021)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCInstrPrefix.td
    M llvm/test/CodeGen/PowerPC/p10-splatImm-CPload-pcrel.ll
    M llvm/test/CodeGen/PowerPC/p10-splatImm32.ll

  Log Message:
  -----------
  [PowerPC][Power10] Exploit splat instruction xxsplti32dx in Power10

Exploits the instruction xxsplti32dx.

It can be used to materialize any 64 bit scalar/vector splat by using two instances, one for the upper 32 bits and the other for the lower 32 bits. It should not materialize the cases which can be materialized by using the instruction xxspltidp.

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




More information about the All-commits mailing list