[all-commits] [llvm/llvm-project] 56a033: [Attributor] Keep track of reached returns in AAPo...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Tue Sep 10 08:13:43 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 56a033462ed28083042e8a99f3a0fb16c1933ba4
      https://github.com/llvm/llvm-project/commit/56a033462ed28083042e8a99f3a0fb16c1933ba4
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2024-09-10 (Tue, 10 Sep 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/Attributor.h
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/test/Transforms/Attributor/IPConstantProp/pthreads.ll
    M llvm/test/Transforms/Attributor/value-simplify-pointer-info.ll

  Log Message:
  -----------
  [Attributor] Keep track of reached returns in AAPointerInfo (#107479)

Instead of visiting call sites in Attribute::checkForAllUses, we now
keep track of returns in AAPointerInfo and use the call site return
information as required. This way, the user of
AAPointerInfo(CallSite)Argument can determine if the call return should
be visited. We do not collect them as "may accesses" in the
AAPointerInfo(CallSite)Argument itself in case a return user is found.



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