[llvm-branch-commits] [llvm] [AMDGPU][UnifyDivergentExitNodes][StructurizeCFG] Add support for callbr instruction with inline-asm (PR #152161)

Robert Imschweiler via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Aug 18 04:03:53 PDT 2025


================
@@ -1284,13 +1283,13 @@ bool StructurizeCFG::makeUniformRegion(Region *R, UniformityInfo &UA) {
 
 /// Run the transformation for each region found
 bool StructurizeCFG::run(Region *R, DominatorTree *DT) {
-  if (R->isTopLevelRegion())
+  // CallBr and its corresponding blocks must not be modified by this pass.
----------------
ro-i wrote:

I'm currently working on this one, btw. I think I missed something there and hope that I will have it fixed soon

https://github.com/llvm/llvm-project/pull/152161


More information about the llvm-branch-commits mailing list