[all-commits] [llvm/llvm-project] caa109: [PowerPC] Add options for PPC to enable/disable us...

Victor Huang via All-commits all-commits at lists.llvm.org
Wed Feb 12 07:26:15 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: caa10988bef0aaade99eda72b10e5a9f711ab170
      https://github.com/llvm/llvm-project/commit/caa10988bef0aaade99eda72b10e5a9f711ab170
  Author: Victor Huang <wei.huang at ibm.com>
  Date:   2020-02-12 (Wed, 12 Feb 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCMachineFunctionInfo.cpp
    M llvm/lib/Target/PowerPC/PPCMachineFunctionInfo.h
    M llvm/lib/Target/PowerPC/PPCRegisterInfo.td
    A llvm/test/CodeGen/PowerPC/ppc-disable-non-volatile-cr.ll

  Log Message:
  -----------
  [PowerPC] Add options for PPC to enable/disable using non-volatile CR

An option is added for PowerPC to disable use of non-volatile CR
register fields and avoid CR spilling in the prologue.

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




More information about the All-commits mailing list