[all-commits] [llvm/llvm-project] be258a: [SSAUpdaterBulk] Fix incorrect live-in values for ...

Valery Pykhtin via All-commits all-commits at lists.llvm.org
Fri Mar 21 00:37:36 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: be258a2c2de0417716800fd07ef91572fbf20fce
      https://github.com/llvm/llvm-project/commit/be258a2c2de0417716800fd07ef91572fbf20fce
  Author: Valery Pykhtin <valery.pykhtin at gmail.com>
  Date:   2025-03-21 (Fri, 21 Mar 2025)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/SSAUpdaterBulk.h
    M llvm/lib/Transforms/Utils/SSAUpdaterBulk.cpp
    M llvm/unittests/Transforms/Utils/SSAUpdaterBulkTest.cpp

  Log Message:
  -----------
  [SSAUpdaterBulk] Fix incorrect live-in values for a block. (#131762)

The previous implementation incorrectly calculated incoming values from
loop backedges, as demonstrated by the tests. The issue was that it did
not distinguish between live-in and live-out values for blocks. This
patch addresses the problem and fixes
https://github.com/llvm/llvm-project/pull/131761.

To avoid bloating storage in `R.Defines`, processing data has been moved
to a temporary map `BBInfos`. This change helps manage heap allocation
more efficiently and likely improves caching.



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