[all-commits] [llvm/llvm-project] e83894: [GlobalsModRef] Apply indirect-global rule to all ...

Philip Reames via All-commits all-commits at lists.llvm.org
Tue Jan 11 08:44:54 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e838949bee05b77f16dea60abdfafb07471c8b89
      https://github.com/llvm/llvm-project/commit/e838949bee05b77f16dea60abdfafb07471c8b89
  Author: Philip Reames <listmail at philipreames.com>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M llvm/lib/Analysis/GlobalsModRef.cpp
    M llvm/test/Analysis/GlobalsModRef/indirect-global.ll

  Log Message:
  -----------
  [GlobalsModRef] Apply indirect-global rule to all globals initialized from noalias calls

Extend the existing malloc-family specific optimization to all noalias calls.  This allows us to handle allocation wrappers, and removes a dependency on a lib-func check in favor of generic attribute usage.

Differential Revision: https://reviews.llvm.org/D116980




More information about the All-commits mailing list