[all-commits] [llvm/llvm-project] 05c3a4: [CycleInfo] skip unreachable predecessors (#101316)

Sameer Sahasrabuddhe via All-commits all-commits at lists.llvm.org
Wed Jul 31 07:14:37 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 05c3a4b8f99d13df4249e9486d8aa42a37957685
      https://github.com/llvm/llvm-project/commit/05c3a4b8f99d13df4249e9486d8aa42a37957685
  Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M llvm/include/llvm/ADT/GenericCycleImpl.h
    A llvm/test/Analysis/CycleInfo/unreachable-predecessor.ll

  Log Message:
  -----------
  [CycleInfo] skip unreachable predecessors (#101316)

If an unreachable block B branches to a block S inside a cycle, it may
cause S to be incorrectly treated as an entry to the cycle. We avoid
that by skipping unreachable predecessors when locating entries.



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