[llvm] [StructurizeCFG] Order IF Else block using Heuristics (PR #139605)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon May 12 12:03:53 PDT 2025
================
@@ -419,6 +446,58 @@ INITIALIZE_PASS_DEPENDENCY(RegionInfoPass)
INITIALIZE_PASS_END(StructurizeCFGLegacyPass, "structurizecfg",
"Structurize the CFG", false, false)
+/// Then and Else block order in SCC is arbitrary. But based on the
+/// order, after structurization there are cases where there might be extra
+/// VGPR copies due to interference during register coelescing.
----------------
arsenm wrote:
```suggestion
/// VGPR copies due to interference during register coalescing.
```
https://github.com/llvm/llvm-project/pull/139605
More information about the llvm-commits
mailing list