[all-commits] [llvm/llvm-project] 00c0c8: [PowerPC] [MLICM] Enable hoisting of caller preser...

Shimin Cui via All-commits all-commits at lists.llvm.org
Wed Mar 31 09:49:10 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 00c0c8c87d300406d8121bcdf02ae75b9b1af9c3
      https://github.com/llvm/llvm-project/commit/00c0c8c87d300406d8121bcdf02ae75b9b1af9c3
  Author: Shimin Cui <scui at ca.ibm.com>
  Date:   2021-03-31 (Wed, 31 Mar 2021)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
    M llvm/test/CodeGen/PowerPC/licm-tocReg.ll

  Log Message:
  -----------
  [PowerPC] [MLICM] Enable hoisting of caller preserved registers on AIX

On ppc64 linux , MachineLICM will hoist caller preserved registers, including TOC loads of the global variable address, out of loops. This is to enable this on AIX for both ppc64 and ppc32.

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




More information about the All-commits mailing list