[all-commits] [llvm/llvm-project] 5dfd7c: Reland [OpenMPOpt] ICV tracking for calls

Stefan Stipanovic via All-commits all-commits at lists.llvm.org
Sun Aug 30 02:30:34 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5dfd7cc46c8db815080dca9046545991bc33274c
      https://github.com/llvm/llvm-project/commit/5dfd7cc46c8db815080dca9046545991bc33274c
  Author: sstefan1 <sstipanovic at s-energize.com>
  Date:   2020-08-30 (Sun, 30 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:
  -----------
  Reland [OpenMPOpt] ICV tracking for calls

The problem with module slice has been addressed in D86319

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