[all-commits] [llvm/llvm-project] 75bd46: [globals-aa] Improved isNonEscapingGlobalNoAlias. ...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Wed Feb 19 17:09:50 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 75bd46e01ff5c4f34e7b7fd8382f7f1028d81440
      https://github.com/llvm/llvm-project/commit/75bd46e01ff5c4f34e7b7fd8382f7f1028d81440
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2025-02-19 (Wed, 19 Feb 2025)

  Changed paths:
    M llvm/include/llvm/Analysis/GlobalsModRef.h
    M llvm/lib/Analysis/GlobalsModRef.cpp
    M llvm/test/Analysis/GlobalsModRef/nonescaping-noalias.ll

  Log Message:
  -----------
  [globals-aa] Improved isNonEscapingGlobalNoAlias. (#127707)

A non-escaping global should never alias with non-pointer values
and `ptr null`. This should improve disambiguation of global
pointers with relation to Flang runtime calls (given that
`nosync nocallback` attributes are properly set).
It also seems to be an obvious improvement with little overhead.



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