[all-commits] [llvm/llvm-project] ef746a: [Attributor] Collect memory accesses with their re...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Sat Feb 15 00:14:50 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ef746aa11f7697d1128a5900ab40a6776fb5ba0f
      https://github.com/llvm/llvm-project/commit/ef746aa11f7697d1128a5900ab40a6776fb5ba0f
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2020-02-15 (Sat, 15 Feb 2020)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/Attributor.h
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/test/Transforms/Attributor/ArgumentPromotion/attrs.ll
    M llvm/test/Transforms/Attributor/liveness.ll
    M llvm/test/Transforms/Attributor/memory_locations.ll
    M llvm/test/Transforms/Attributor/nofree.ll
    M llvm/test/Transforms/Attributor/noreturn_async.ll
    M llvm/test/Transforms/Attributor/noreturn_sync.ll

  Log Message:
  -----------
  [Attributor] Collect memory accesses with their respective kind and location

In addition to a single bit per memory locations, e.g., globals and
arguments, we now collect more information about the actual accesses,
e.g., what instruction caused it, was it a read/write/read+write, and
what the underlying base pointer was. Follow up patches will make
explicit use of this.

Reviewed By: uenoku

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




More information about the All-commits mailing list