[all-commits] [llvm/llvm-project] f7060f: For PAL, make sure Scratch Buffer Descriptor do no...

RamNalamothu via All-commits all-commits at lists.llvm.org
Wed May 6 07:31:39 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f7060f4f88fb493753d1f8277f779c42e7cade2f
      https://github.com/llvm/llvm-project/commit/f7060f4f88fb493753d1f8277f779c42e7cade2f
  Author: Ram Nalamothu <VenkataRamanaiah.Nalamothu at amd.com>
  Date:   2020-05-06 (Wed, 06 May 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
    M llvm/lib/Target/AMDGPU/SIFrameLowering.h
    M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
    M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
    A llvm/test/CodeGen/AMDGPU/SRSRC-GIT-clobber-check.mir
    M llvm/test/CodeGen/AMDGPU/scratch-simple.ll

  Log Message:
  -----------
  For PAL, make sure Scratch Buffer Descriptor do not clobber GIT pointer

Since SRSRC has alignment requirements, first find non GIT pointer clobbered
registers for SRSRC and then if those registers clobber preloaded Scratch Wave
Offset register, copy the Scratch Wave Offset register to a free SGPR.




More information about the All-commits mailing list