[all-commits] [llvm/llvm-project] 6e1aaf: [PowerPC] Mark splat immediate instructions as rem...

Victor Huang via All-commits all-commits at lists.llvm.org
Fri Sep 24 10:06:49 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e1aaf18af6c6b68d314a23068bd912524212fb6
      https://github.com/llvm/llvm-project/commit/6e1aaf18af6c6b68d314a23068bd912524212fb6
  Author: Victor Huang <wei.huang at ibm.com>
  Date:   2021-09-24 (Fri, 24 Sep 2021)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
    M llvm/lib/Target/PowerPC/PPCInstrPrefix.td
    M llvm/test/CodeGen/PowerPC/constant-pool.ll
    M llvm/test/CodeGen/PowerPC/p10-spill-crun.ll
    M llvm/test/CodeGen/PowerPC/p10-splatImm.ll

  Log Message:
  -----------
  [PowerPC] Mark splat immediate instructions as rematerializable

This patch marks splat immediate instructions XXSPLTIW and XXSPLTIDP as
rematerializable to prevent MachineLICM from moving them out of loops.

Reviewed By: lei, amy

Differential revision: https://reviews.llvm.org/D108823




More information about the All-commits mailing list