[llvm] [AMDGPU] Improve StructurizeCFG pass performance by using SSAUpdaterBulk. (PR #130611)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 10 07:13:58 PDT 2025


================
@@ -69,13 +69,13 @@ define amdgpu_kernel void @loop_subregion_misordered(ptr addrspace(1) %arg0) #0
 ; CHECK-NEXT:    [[TMP5:%.*]] = phi i1 [ [[CMP_END_ELSE_BLOCK:%.*]], [[END_ELSE_BLOCK]] ], [ true, [[FLOW2]] ]
 ; CHECK-NEXT:    br i1 [[TMP5]], label [[FLOW4:%.*]], label [[LOOP_HEADER]]
 ; CHECK:       Flow4:
-; CHECK-NEXT:    br i1 [[TMP7:%.*]], label [[BB64:%.*]], label [[RETURN:%.*]]
+; CHECK-NEXT:    br i1 false, label [[BB64:%.*]], label [[RETURN:%.*]]
----------------
arsenm wrote:

Did you make any adjustments to my original patch? Does this survive PSDB? These type of changes are somewhat suspicious, and I think it failed tests when I tried before 

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


More information about the llvm-commits mailing list