[all-commits] [llvm/llvm-project] 1a78b0: [MachineOutliner] Teach outliner to set live-ins

Eli Friedman via All-commits all-commits at lists.llvm.org
Wed Apr 22 14:20:16 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a78b0bd3829381e7be627b459c22083bf4671d4
      https://github.com/llvm/llvm-project/commit/1a78b0bd3829381e7be627b459c22083bf4671d4
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2020-04-22 (Wed, 22 Apr 2020)

  Changed paths:
    M llvm/lib/CodeGen/MachineOutliner.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
    M llvm/test/CodeGen/AArch64/machine-outliner-calls.mir
    M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-sp-mod.mir

  Log Message:
  -----------
  [MachineOutliner] Teach outliner to set live-ins

Preserving liveness can be useful even late in the pipeline, if we're
doing substantial optimization work afterwards. (See, for example,
D76065.) Teach MachineOutliner how to correctly set live-ins on the
basic block in outlined functions.

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




More information about the All-commits mailing list