[PATCH] D149568: [AMDGPU][NFC] Preserve PDTWrapperPass in UnifyDivergentExitNodes

Anshil Gandhi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 2 19:28:10 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG40ed87a0515d: [AMDGPU][NFC] Preserve PDTWrapperPass in UnifyDivergentExitNodes (authored by gandhi21299).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149568

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


Index: llvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp
===================================================================
--- llvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp
+++ llvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp
@@ -103,10 +103,10 @@
 
   AU.addRequired<UniformityInfoWrapperPass>();
 
-  if (RequireAndPreserveDomTree) {
+  if (RequireAndPreserveDomTree)
     AU.addPreserved<DominatorTreeWrapperPass>();
-    // FIXME: preserve PostDominatorTreeWrapperPass
-  }
+
+  AU.addPreserved<PostDominatorTreeWrapperPass>();
 
   // No divergent values are changed, only blocks and branch edges.
   AU.addPreserved<UniformityInfoWrapperPass>();


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149568.518943.patch
Type: text/x-patch
Size: 680 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230503/c39d1931/attachment.bin>


More information about the llvm-commits mailing list