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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D85872
[AMDGPU] Fix missed SI_RETURN_TO_EPILOG in pre-emit peephole ClosedPublic Authored by critson on Aug 12 2020, 8:54 PM.
Details Summary SIPreEmitPeephole does not process all terminators, which means
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 12 2020, 10:55 PM This revision was landed with ongoing or failed builds.Aug 13 2020, 5:53 AM Closed by commit rGd538c5837a2c: [AMDGPU] Fix missed SI_RETURN_TO_EPILOG in pre-emit peephole (authored by critson). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 285250 llvm/lib/Target/AMDGPU/SIPreEmitPeephole.cpp
llvm/test/CodeGen/AMDGPU/transform-block-with-return-to-epilog.ll
|