[all-commits] [llvm/llvm-project] ca3bae: [AMDGPU] Autogenerate test. NFC

Sebastian Neubauer via All-commits all-commits at lists.llvm.org
Mon Apr 12 02:54:12 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca3bae94c469211749fd2599d35ebd73cab45fa0
      https://github.com/llvm/llvm-project/commit/ca3bae94c469211749fd2599d35ebd73cab45fa0
  Author: Sebastian Neubauer <sebastian.neubauer at amd.com>
  Date:   2021-04-12 (Mon, 12 Apr 2021)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/frame-setup-without-sgpr-to-vgpr-spills.ll

  Log Message:
  -----------
  [AMDGPU] Autogenerate test. NFC


  Commit: b76c2a6c2b97bebb7a4e529cf3c8bde78253dde4
      https://github.com/llvm/llvm-project/commit/b76c2a6c2b97bebb7a4e529cf3c8bde78253dde4
  Author: Sebastian Neubauer <sebastian.neubauer at amd.com>
  Date:   2021-04-12 (Mon, 12 Apr 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
    M llvm/test/CodeGen/AMDGPU/callee-frame-setup.ll
    M llvm/test/CodeGen/AMDGPU/frame-setup-without-sgpr-to-vgpr-spills.ll
    M llvm/test/CodeGen/AMDGPU/stack-realign.ll

  Log Message:
  -----------
  [AMDGPU] Fix saving fp and bp

Spilling the fp or bp to scratch could overwrite VGPRs of inactive
lanes. Fix that by using only the active lanes of the scavenged VGPR.

This builds on the assumptions that
1. a function is never called with exec=0
2. lanes do not die in a function, i.e. exec!=0 in the function epilog
3. no new lanes are active when exiting the function, i.e. exec in the
   epilog is a subset of exec in the prolog.

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


Compare: https://github.com/llvm/llvm-project/compare/32bc9a9bc314...b76c2a6c2b97


More information about the All-commits mailing list