[all-commits] [llvm/llvm-project] 6ae717: [mlir][spirv] Update mergeInfo of blocks nested in...

Igor Wodiany via All-commits all-commits at lists.llvm.org
Wed Apr 30 03:30:20 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ae7177de8d101487518bac72a1e2ab0a2ca18c9
      https://github.com/llvm/llvm-project/commit/6ae7177de8d101487518bac72a1e2ab0a2ca18c9
  Author: Igor Wodiany <igor.wodiany at imgtec.com>
  Date:   2025-04-30 (Wed, 30 Apr 2025)

  Changed paths:
    M mlir/lib/Target/SPIRV/Deserialization/Deserializer.cpp

  Log Message:
  -----------
  [mlir][spirv] Update mergeInfo of blocks nested in regions (#137789)

The current code that updates mergeInfo iterates only over
constructBlocks, potentially leaving blocks nested in already structured
regions with invalid mergeInfo. This patch adds walk for each block to
ensure all nested blocks are considered.

It is not possible to add a unit test exercising this change as whether
the problem occurs depends on the structuring order that is currently
non-deterministic.



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