[PATCH] D94406: [AMDGPU] Fix failing assert with scratch ST mode

Sebastian Neubauer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 11 05:30:26 PST 2021


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

In ST mode, flat scratch instructions have neither an sgpr nor a vgpr
for the address. This lead to an assertion when inserting hard clauses.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D94406

Files:
  llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
  llvm/test/CodeGen/AMDGPU/memory_clause.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94406.315771.patch
Type: text/x-patch
Size: 14744 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210111/d172ec75/attachment-0001.bin>


More information about the llvm-commits mailing list