[all-commits] [llvm/llvm-project] 9569d5: [AMDGPU] Allow buildSpillLoadStore in empty bb

Sebastian Neubauer via All-commits all-commits at lists.llvm.org
Thu Apr 29 03:54:27 PDT 2021


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

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
    M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
    M llvm/lib/Target/AMDGPU/SIRegisterInfo.h

  Log Message:
  -----------
  [AMDGPU] Allow buildSpillLoadStore in empty bb

This allows calling buildSpillLoadStore for an empty basic block, where
MI points at the end of the block instead of to an instruction.

This only happens with downstream CFI changes, so I was not able to
create a testcase that works with upstream LLVM.

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




More information about the All-commits mailing list