[all-commits] [llvm/llvm-project] 8638fe: [X86] Fix livein handling in emitStackProbeInlineW...

Craig Topper via All-commits all-commits at lists.llvm.org
Sat Aug 31 10:12:21 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8638fe1444a532c660f1ef2b93816cf6af6b05e9
      https://github.com/llvm/llvm-project/commit/8638fe1444a532c660f1ef2b93816cf6af6b05e9
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-08-31 (Sat, 31 Aug 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86FrameLowering.cpp
    M llvm/test/CodeGen/X86/win_coreclr_chkstk.ll

  Log Message:
  -----------
  [X86] Fix livein handling in emitStackProbeInlineWindowsCoreCLR64. (#106828)

Stop adding liveins for virtual registers. In the livein interface, the
register goes through a MCPhysReg which is uint16_t. This causes the
virtual register bit to be dropped making it alias to some nonsense
physical register.

Recompute the liveins for the continue block to handle any live
registers that are needed by instructions that were spliced from the
original block. This fixing the machine verifier error so we can remove
that fixme now.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list