[all-commits] [llvm/llvm-project] e1069c: [AMDGPU] Ensure return address is save/restored if...

Venkata Ramanaiah Nalamothu via All-commits all-commits at lists.llvm.org
Mon Mar 7 08:31:50 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e1069c1288d151f36f37c4c616b78b7b0a1e3a50
      https://github.com/llvm/llvm-project/commit/e1069c1288d151f36f37c4c616b78b7b0a1e3a50
  Author: Venkata Ramanaiah Nalamothu <VenkataRamanaiah.Nalamothu at amd.com>
  Date:   2022-03-07 (Mon, 07 Mar 2022)

  Changed paths:
    A llvm/test/CodeGen/AMDGPU/ipra-return-address-save-restore.ll

  Log Message:
  -----------
  [AMDGPU] Ensure return address is save/restored if clobbered or when function has calls

This test is to make sure the return address registers, if clobbered in the
function or when the function has calls, are save/restored irrespective of
whether the IPRA is enabled/disabled.

This test is found to be not save/restore the return address registers, when
clobbered in the function, with the corresponding downstream changes of D114652.

The test could not be reduced further as the register allocator needs enough
register pressure so that it allocates the return address registers as well.

Reviewed By: arsenm

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




More information about the All-commits mailing list