[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
Loading
Please sign in to comment