[all-commits] [llvm/llvm-project] 92faf5: [MCP] Never eliminate frame-setup/destroy instruct...

Scott Linder via All-commits all-commits at lists.llvm.org
Thu Apr 16 09:22:34 PDT 2026


  Branch: refs/heads/users/slinder1/I9ea4a09b34464c43322edd2900361bf635efd9f7
  Home:   https://github.com/llvm/llvm-project
  Commit: 92faf5298f6c45a8b81e02b3bd1bee3dfff9c6c5
      https://github.com/llvm/llvm-project/commit/92faf5298f6c45a8b81e02b3bd1bee3dfff9c6c5
  Author: Scott Linder <Scott.Linder at amd.com>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M llvm/lib/CodeGen/MachineCopyPropagation.cpp
    M llvm/test/CodeGen/X86/machine-copy-prop.mir

  Log Message:
  -----------
  [MCP] Never eliminate frame-setup/destroy instructions

Presumably targets only insert frame instructions which are significant,
and there may be effects MCP doesn't model. Similar to reserved registers this
is probably overly conservative, but as this causes no codegen change in
any lit test I think it is benign.

The motivation is just to clean up #183149 for AMDGPU, as we can spill
to physical registers, and currently have to spill the EXEC mask purely
to enable debug-info.

Change-Id: I9ea4a09b34464c43322edd2900361bf635efd9f7



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