[PATCH] D101356: [AMDGPU] Allow buildSpillLoadStore in empty bb

Sebastian Neubauer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 27 05:02:16 PDT 2021


sebastian-ne created this revision.
sebastian-ne added reviewers: arsenm, scott.linder, kzhuravl.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely.
sebastian-ne requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101356

Files:
  llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
  llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
  llvm/lib/Target/AMDGPU/SIRegisterInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101356.340799.patch
Type: text/x-patch
Size: 14363 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210427/5b8d6b64/attachment.bin>


More information about the llvm-commits mailing list