[llvm] r374347 - Revert "[AMDGPU] Run `unreachable-mbb-elimination` after isel to clean up PHIs."
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 10 06:34:32 PDT 2019
Author: foad
Date: Thu Oct 10 06:34:31 2019
New Revision: 374347
URL: http://llvm.org/viewvc/llvm-project?rev=374347&view=rev
Log:
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 53f967f2bdb6aa7b08596880c3689d1ecad6f0ff
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
Modified:
llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp?rev=374347&r1=374346&r2=374347&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp Thu Oct 10 06:34:31 2019
@@ -885,9 +885,6 @@ bool GCNPassConfig::addInstSelector() {
addPass(createSILowerI1CopiesPass());
addPass(createSIFixupVectorISelPass());
addPass(createSIAddIMGInitPass());
- // FIXME: Remove this once the phi on CF_END is cleaned up by either removing
- // LCSSA or other ways.
- addPass(&UnreachableMachineBlockElimID);
return false;
}
More information about the llvm-commits
mailing list