HomePhabricator

[AMDGPU] Fix missed SI_RETURN_TO_EPILOG in pre-emit peephole

Authored by critson on Aug 13 2020, 4:56 AM.

Description

[AMDGPU] Fix missed SI_RETURN_TO_EPILOG in pre-emit peephole

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.

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D85872

Details

Committed
critsonAug 13 2020, 5:52 AM
Reviewer
rampitec
Differential Revision
D85872: [AMDGPU] Fix missed SI_RETURN_TO_EPILOG in pre-emit peephole
Parents
rGc58f1fe2aebf: [libc++][test] Fix -Wstring-concatenation warnings
Branches
Unknown
Tags
Unknown