[all-commits] [llvm/llvm-project] b0b32e: [OpenMPOpt] ICV tracking for calls

Stefan Stipanovic via All-commits all-commits at lists.llvm.org
Wed Aug 19 02:44:59 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b0b32e649011d9a60165b9b53eb2764b7da9c8ca
      https://github.com/llvm/llvm-project/commit/b0b32e649011d9a60165b9b53eb2764b7da9c8ca
  Author: sstefan1 <sstipanovic at s-energize.com>
  Date:   2020-08-19 (Wed, 19 Aug 2020)

  Changed paths:
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
    M llvm/test/Transforms/OpenMP/icv_tracking.ll

  Log Message:
  -----------
  [OpenMPOpt] ICV tracking for calls

Introduce two new AAs. AAICVTrackerFunctionReturned which checks if a
function can have a unique ICV value after it is finished, and
AAICVCallSiteReturned which checks AAICVTrackerFunctionReturned for a
call site. This enables us to check the value of a call and if it
changes the ICV. This also changes the approach in
`getReplacementValues()` to a worklist-based approach so we can explore
all relevant BBs.

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




More information about the All-commits mailing list