[PATCH] D85872: [AMDGPU] Fix missed SI_RETURN_TO_EPILOG in pre-emit peephole

Carl Ritson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 12 20:54:31 PDT 2020


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

SIPreEmitPeephole does not process all terminators, which means
it can fail to handle SI_RETURN_TO_EPILOG if immediately preceeded
by a branch to the early exit block.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85872

Files:
  llvm/lib/Target/AMDGPU/SIPreEmitPeephole.cpp
  llvm/test/CodeGen/AMDGPU/transform-block-with-return-to-epilog.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85872.285250.patch
Type: text/x-patch
Size: 5390 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200813/6c910878/attachment-0001.bin>


More information about the llvm-commits mailing list