[PATCH] D68769: Revert "[AMDGPU] Run `unreachable-mbb-elimination` after isel to clean up PHIs."

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 10 06:38:28 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rG765055658cd7: Revert "[AMDGPU] Run `unreachable-mbb-elimination` after isel to clean up PHIs." (authored by foad).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68769/new/

https://reviews.llvm.org/D68769

Files:
  llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp


Index: llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
===================================================================
--- llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+++ llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
@@ -885,9 +885,6 @@
   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;
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68769.224336.patch
Type: text/x-patch
Size: 540 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191010/65932336/attachment.bin>


More information about the llvm-commits mailing list