Skip to content

Commit 7650556

Browse files
committed
Revert "[AMDGPU] Run unreachable-mbb-elimination after isel to clean up PHIs."
Summary: This has been superseded by "[AMDGPU]: PHI Elimination hooks added for custom COPY insertion." This reverts the code changes from commit 53f967f but keeps the test case. Reviewers: hliao, arsenm, tpr, dstuttard Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, t-tye, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68769 llvm-svn: 374347
1 parent fbf8b0b commit 7650556

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -885,9 +885,6 @@ bool GCNPassConfig::addInstSelector() {
885885
addPass(createSILowerI1CopiesPass());
886886
addPass(createSIFixupVectorISelPass());
887887
addPass(createSIAddIMGInitPass());
888-
// FIXME: Remove this once the phi on CF_END is cleaned up by either removing
889-
// LCSSA or other ways.
890-
addPass(&UnreachableMachineBlockElimID);
891888
return false;
892889
}
893890

0 commit comments

Comments
 (0)