[all-commits] [llvm/llvm-project] 22a64d: [MachineOutliner][AArch64] Ensure LR is live-in wh...

Jessica Paquette via All-commits all-commits at lists.llvm.org
Wed Sep 8 17:44:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22a64d4a143d0d549cc762e1a19260078d1836c2
      https://github.com/llvm/llvm-project/commit/22a64d4a143d0d549cc762e1a19260078d1836c2
  Author: Jessica Paquette <jpaquette at apple.com>
  Date:   2021-09-08 (Wed, 08 Sep 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
    A llvm/test/CodeGen/AArch64/machine-outliner-create-lr-livein.mir

  Log Message:
  -----------
  [MachineOutliner][AArch64] Ensure LR is live-in when inserting reg-save calls

Similar to other code which handles creating the function frame.

If LR isn't live-in to the block that we're inserting the call into, we'll get
a MachineVerifier error.




More information about the All-commits mailing list