[all-commits] [llvm/llvm-project] b629d4: [Attributor] Prevent infinite loop in AAGlobalValu...

Ethan Luis McDonough via All-commits all-commits at lists.llvm.org
Tue Jun 18 09:37:04 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b629d4b91291328090023b5405dbbaabfd38d961
      https://github.com/llvm/llvm-project/commit/b629d4b91291328090023b5405dbbaabfd38d961
  Author: Ethan Luis McDonough <ethanluismcdonough at gmail.com>
  Date:   2024-06-18 (Tue, 18 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/IPO/Attributor.cpp
    A llvm/test/Transforms/Attributor/recursive_globals.ll

  Log Message:
  -----------
  [Attributor] Prevent infinite loop in AAGlobalValueInfoFloating (#94941)

Global variables that reference themselves alongside a function that is
called indirectly can cause an infinite loop in
`AAGlobalValueInfoFloating`. The recursive reference is continually
pushed back into the workload, causing the attributor to hang
indefinitely.



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