[all-commits] [llvm/llvm-project] df96e0: [StructurizeCFG] nested-if zerocost hoist bugfix (...

Vigneshwar Jayakumar via All-commits all-commits at lists.llvm.org
Thu Aug 28 07:04:35 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: df96e09c1eec06555d54532a63c2317c4caddcf0
      https://github.com/llvm/llvm-project/commit/df96e09c1eec06555d54532a63c2317c4caddcf0
  Author: Vigneshwar Jayakumar <vigneshwar.jayakumar at amd.com>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M llvm/lib/Transforms/Scalar/StructurizeCFG.cpp
    M llvm/test/CodeGen/AMDGPU/structurize-hoist.ll
    M llvm/test/Transforms/StructurizeCFG/hoist-zerocost.ll

  Log Message:
  -----------
  [StructurizeCFG] nested-if zerocost hoist bugfix (#155408)

When zero cost instructions are hoisted, the simplifyHoistedPhi function
was setting incoming phi values which were not dominating the use
causing runtime failure. This was set to poison by rebuildSSA function.
This commit fixes the issue.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list