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

Scott Linder via All-commits all-commits at lists.llvm.org
Thu Apr 16 08:07:52 PDT 2026


  Branch: refs/heads/users/slinder1/I9ea4a09b34464c43322edd2900361bf635efd9f7
  Home:   https://github.com/llvm/llvm-project
  Commit: c98c0e43d7a51d584d6b7c9ee0bed48d6d1c6827
      https://github.com/llvm/llvm-project/commit/c98c0e43d7a51d584d6b7c9ee0bed48d6d1c6827
  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